matlab如何使用函数画图function ex0303()t=0:pi/50:6*pi;xt=exp(-0.1*t).*cos(t);yt=exp(-0.1*t).*sin(t);subplot(2,2,1),plot3(xt,yt,t),grid ontitle ('(xt,yt,zt )的三维图a');文件名ex0303.m 我该怎么条用这个函数呢?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/30 23:06:37
matlab如何使用函数画图function ex0303()t=0:pi/50:6*pi;xt=exp(-0.1*t).*cos(t);yt=exp(-0.1*t).*sin(t);subplot(2,2,1),plot3(xt,yt,t),grid ontitle ('(xt,yt,zt )的三维图a');文件名ex0303.m 我该怎么条用这个函数呢?

matlab如何使用函数画图function ex0303()t=0:pi/50:6*pi;xt=exp(-0.1*t).*cos(t);yt=exp(-0.1*t).*sin(t);subplot(2,2,1),plot3(xt,yt,t),grid ontitle ('(xt,yt,zt )的三维图a');文件名ex0303.m 我该怎么条用这个函数呢?
matlab如何使用函数画图
function ex0303()
t=0:pi/50:6*pi;
xt=exp(-0.1*t).*cos(t);
yt=exp(-0.1*t).*sin(t);
subplot(2,2,1),plot3(xt,yt,t),grid on
title ('(xt,yt,zt )的三维图a');
文件名ex0303.m 我该怎么条用这个函数呢?

matlab如何使用函数画图function ex0303()t=0:pi/50:6*pi;xt=exp(-0.1*t).*cos(t);yt=exp(-0.1*t).*sin(t);subplot(2,2,1),plot3(xt,yt,t),grid ontitle ('(xt,yt,zt )的三维图a');文件名ex0303.m 我该怎么条用这个函数呢?
命令窗口输入ex0303 另外你的括号是中文的,改为英文