Matlab画不出波形,f(t)=sin(2*pi*sym('f0')*t)-alpha*sin(2*pi*sym('f0')*t)*[u*(t-sym('t1'))-u*(t-sym('t2'))];sym('f0')=50,sym('t1')=0.04,sym('t2')=0.1,alpha=0.2;plot(f(t),t);grid on这个是命令里的Error in ==> one at 1f(t)=sin(2*pi*sym('f0')*t
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 10:12:01
Matlab画不出波形,f(t)=sin(2*pi*sym('f0')*t)-alpha*sin(2*pi*sym('f0')*t)*[u*(t-sym('t1'))-u*(t-sym('t2'))];sym('f0')=50,sym('t1')=0.04,sym('t2')=0.1,alpha=0.2;plot(f(t),t);grid on这个是命令里的Error in ==> one at 1f(t)=sin(2*pi*sym('f0')*t
Matlab画不出波形,
f(t)=sin(2*pi*sym('f0')*t)-alpha*sin(2*pi*sym('f0')*t)*[u*(t-sym('t1'))-u*(t-sym('t2'))];
sym('f0')=50,sym('t1')=0.04,sym('t2')=0.1,alpha=0.2;
plot(f(t),t);
grid on
这个是命令里的Error in ==> one at 1
f(t)=sin(2*pi*sym('f0')*t)-alpha*sin(2*pi*sym('f0')*t)*[u*(t-sym('t1'))-u*(t-sym('t2'))];
Matlab画不出波形,f(t)=sin(2*pi*sym('f0')*t)-alpha*sin(2*pi*sym('f0')*t)*[u*(t-sym('t1'))-u*(t-sym('t2'))];sym('f0')=50,sym('t1')=0.04,sym('t2')=0.1,alpha=0.2;plot(f(t),t);grid on这个是命令里的Error in ==> one at 1f(t)=sin(2*pi*sym('f0')*t
那就是这一行中的t没有赋值