3d polar plot of vectors in cartesian coordinates

조회 수: 2 (최근 30일)
Ashbub
Ashbub 2017년 12월 26일
댓글: Ashbub 2017년 12월 26일
Hi, I have numerous 3D vectors (x, y and z coordinate for each) in excel file as columns. I want to draw a 3dpolarplot like polarhistogram in 2D in Matlab. Don't know how to do it. I am not a frequent user of Matlab. Can anyone give any suggestion? Thanks in advance.

채택된 답변

KSSV
KSSV 2017년 12월 26일
[num,txt,raw] = xlsread(filename) ;
x = num(:,1) ;
y = num(:,2) ;
z = num(:,3) ;
Now, you can use x,y,z for plotting. Have a look on scatter, plot3, etc.
  댓글 수: 3
Ashbub
Ashbub 2017년 12월 26일
Thankyou.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by