plot point at angle

In this image i am able to find D and b. so, is there any matlab command or logic to plot point D in 3D. Here D is a point at distance and b is angle of that point..

답변 (2개)

Sachin Ganjare
Sachin Ganjare 2012년 10월 25일

0 개 추천

You can use plot3 command
Matt J
Matt J 2012년 10월 25일

0 개 추천

Use the scatter3 command

댓글 수: 2

Lalit Patil
Lalit Patil 2012년 10월 25일
no, this is not the thing that i want.. I have only 'D' and 'b' and from it i want to create 3D structure.. surely i have x and y but i didn't want to use it..
Matt J
Matt J 2012년 10월 25일
편집: Matt J 2012년 10월 25일
I don't really follow, I'm afraid. If you have geometric quantities that specify your point in 3D space, why couldn't/wouldn't you convert them to the X,Y,Z coordinates that MATLAB functions require?
Aside from that, what "3D structure" are you referring to? Please be careful about terminology, since in MATLAB language a 3D structure could be confused with this
>> s(2,3,4).a=1
s =
2x3x4 struct array with fields:
a

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

질문:

2012년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by