1. Not finding help here? Sign up for a free 30min 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!

Matlab question, just checking If i inputted correctly.

  1. Jul 12, 2015 #1
    1. The problem statement, all variables and given/known data
    upload_2015-7-12_15-20-35.png

    2. Relevant equations


    3. The attempt at a solution
    07IYl0C.png
    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

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted