Help 3D plotting in matlab
Show older comments
Hello guys, are you ok! I Hope Sooooo
i have the following data i would like to help me to plot it in 3d please a=1:1:5 b=11:1:15
c=[ 3 4 6 7 7; 5 5 8 6 2; 3 6 4 8 9 ]; PLEASE NOTE THAT C IS A 5X3 MATRIX
It's really i'll appreciate it
Ta ra
Answers (3)
Azzi Abdelmalek
on 29 Sep 2012
plot3(a,b,c)
4 Comments
sese
on 29 Sep 2012
Azzi Abdelmalek
on 29 Sep 2012
your vectors are not the same length. why?
sese
on 10 Oct 2012
Azzi Abdelmalek
on 10 Oct 2012
plot3(a,b,c)
Razvan
on 29 Sep 2012
0 votes
Image Analyst
on 10 Oct 2012
You didn't specify how you wanted them displayed, so until then, I offer this:
c=[ 3 4 6 7 7; 5 5 8 6 2; 3 6 4 8 9 ]
x = c(1,:);
y = c(2,:);
z = c(3,:);
scatter3(x, y, z);
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!