Filter löschen
Filter löschen

3d polar plot of vectors in cartesian coordinates

2 Ansichten (letzte 30 Tage)
Ashbub
Ashbub am 26 Dez. 2017
Kommentiert: Ashbub am 26 Dez. 2017
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.

Akzeptierte Antwort

KSSV
KSSV am 26 Dez. 2017
[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 Kommentare
Ashbub
Ashbub am 26 Dez. 2017
Thankyou.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by