Effacer les filtres
Effacer les filtres

3d polar plot of vectors in cartesian coordinates

2 vues (au cours des 30 derniers jours)
Ashbub
Ashbub le 26 Déc 2017
Commenté : Ashbub le 26 Déc 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.

Réponse acceptée

KSSV
KSSV le 26 Déc 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 commentaires
Ashbub
Ashbub le 26 Déc 2017
Thankyou.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by