Plotting 3D graph
Ältere Kommentare anzeigen
Hello everyone,
How can I plot a 3D graph for power and frequency vs. time (z,y,x)?
Thanks

Akzeptierte Antwort
Weitere Antworten (2)
Azzi Abdelmalek
am 24 Apr. 2016
plot3(z,y,x)
3 Kommentare
mosa mm
am 24 Apr. 2016
Azzi Abdelmalek
am 24 Apr. 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
am 24 Apr. 2016
Image Analyst
am 24 Apr. 2016
0 Stimmen
I think that might best be done with waterfall().
1 Kommentar
mosa mm
am 25 Apr. 2016
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!