请帮忙看一下这个matlab程序的问题出在哪儿了?
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/17 15:07:14
请帮忙看一下这个matlab程序的问题出在哪儿了?
num1=35;den1=[0.00001,0.0031,0.215,1.0];
num3=[7,105 350];den3=[0.00001,0.0031,0.215,1,0,0];
t=[0:0.02:5];
[numc1,denc1]=cloop[num1,den1];
y1=step(numc1,denc1,t);
[numc3,denc3]=cloop[num3,den3];
y3=step(numc3,denc3,t)
plot(t,[y1 y3]),grid
[numc1,denc1]=feedback[num1,den1];
|
Error:Unbalanced or unexpected parenthesis or bracket.
num1=35;den1=[0.00001,0.0031,0.215,1.0];
num3=[7,105 350];den3=[0.00001,0.0031,0.215,1,0,0];
t=[0:0.02:5];
[numc1,denc1]=cloop[num1,den1];
y1=step(numc1,denc1,t);
[numc3,denc3]=cloop[num3,den3];
y3=step(numc3,denc3,t)
plot(t,[y1 y3]),grid
[numc1,denc1]=feedback[num1,den1];
|
Error:Unbalanced or unexpected parenthesis or bracket.
cloop已经不能用了.用feedback代替,并且feedback后面是(), 而不是中括号