Help 3D plotting in matlab

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

답변 (3개)

Azzi Abdelmalek
Azzi Abdelmalek 2012년 9월 29일

0 개 추천

plot3(a,b,c)

댓글 수: 4

sese
sese 2012년 9월 29일
Tnx a lot brother for ur help
i edited the question so is it the same answer or not??
tnx
Azzi Abdelmalek
Azzi Abdelmalek 2012년 9월 29일
your vectors are not the same length. why?
sese
sese 2012년 10월 10일
HI BROTHER AZIZ, I ALREADY EDITED MY VECTORS TNX AND WAITING FOR YOUR HELP
plot3(a,b,c)

댓글을 달려면 로그인하십시오.

Image Analyst
Image Analyst 2012년 10월 10일

0 개 추천

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);

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2012년 9월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by