1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Matlab question, just checking If i inputted correctly.

  1. Jul 12, 2015 #1
    1. The problem statement, all variables and given/known data

    2. Relevant equations

    3. The attempt at a solution
    look at line4, did I enter it correctly?
    I must have did something wrong because there is no contour at all, all i see are parallel lines.
  2. jcsd
  3. Jul 12, 2015 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member
    2017 Award

    You are probably intending to use element-by-element multiplication, but you have used matrix multiplication. You need to use the .* operator instead.
  4. Jul 12, 2015 #3

    Attached Files:

    Last edited: Jul 12, 2015
  5. Jul 14, 2015 #4
    You need to explain whether you solved the problem or not. It's now unclear whether you need help or not.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted