3D-plot for 3x159 matirx

1 view (last 30 days)
mohamad almasi
mohamad almasi on 16 Aug 2016
Answered: KSSV on 16 Aug 2016
hi, i wanna to plot a 3x159 matrix, please help me how can i do this for have a 3D-plot. thanks in advance for devote your time for me

Answers (1)

KSSV
KSSV on 16 Aug 2016
I guess you have the data in xyz form.Let's say the 1,2,3 columns are x,y,z respectively. You need to reshape the columns into a matrix and use surf. Check the following link which plots xyz data into a grid:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!