Plotting 3D graph
Afficher commentaires plus anciens
Hello everyone,
How can I plot a 3D graph for power and frequency vs. time (z,y,x)?
Thanks

Réponse acceptée
Plus de réponses (2)
Azzi Abdelmalek
le 24 Avr 2016
plot3(z,y,x)
3 commentaires
mosa mm
le 24 Avr 2016
Azzi Abdelmalek
le 24 Avr 2016
Look at this example
t=linspace(0.1,2,20)
freq=linspace(0,20000,20)
[x,y]=meshgrid(t,freq)
z=sin(x).^2+cos(y).^2 %your power vector
surf(x,y,z)
mosa mm
le 24 Avr 2016
Image Analyst
le 24 Avr 2016
0 votes
I think that might best be done with waterfall().
1 commentaire
mosa mm
le 25 Avr 2016
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!