Plotting 3D graph
이전 댓글 표시
Hello everyone,
How can I plot a 3D graph for power and frequency vs. time (z,y,x)?
Thanks

채택된 답변
추가 답변 (2개)
Azzi Abdelmalek
2016년 4월 24일
plot3(z,y,x)
댓글 수: 3
mosa mm
2016년 4월 24일
Azzi Abdelmalek
2016년 4월 24일
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
2016년 4월 24일
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!