Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MAtlab Surf problems

  1. Jan 22, 2010 #1
    I have to following problems with my plotting problems:

    my matrix is as follows :

    x y z
    [ ]
    its approx 100 rows....

    When i try to plot the surface.... The following image occurs, does the matrix need ot be sorted or somehting?

    It should be a plane....

    Attached Files:

  2. jcsd
  3. Jan 23, 2010 #2
    what command are you using to plot?

    also, what are the dimensions of your matrix that you are plotting?
  4. Jan 23, 2010 #3

    the matrix is between 100 & 1000 rows * 3 (x , y, z)

    Im using the surf command...

    Does the matrix need to be in some kind of order?... It is a perfect plane when i use plots and display circles... using 'o'
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook