问题描述:
跪等!matlab中Vectors must be the same lengths
figure(2),
x=[-4,-2,0,-4,-6,-4,-2,-4,-6,-6,-4,-4,-6,-6,-2,6,12,8,0,-16,-38,-60,-84,-90,-66,-32,-4,-2,-4,8,12,12,10,6,6,6,4,0,0,0,0,0,-2,-4,0,0,0,-2,-2,0,0,-2,-2,-2,-2,0];
y=filter(b1,a1,x);
subplot(221);plot(n,x);然后就有提示错误Vectors must be the same lengths
figure(2),
x=[-4,-2,0,-4,-6,-4,-2,-4,-6,-6,-4,-4,-6,-6,-2,6,12,8,0,-16,-38,-60,-84,-90,-66,-32,-4,-2,-4,8,12,12,10,6,6,6,4,0,0,0,0,0,-2,-4,0,0,0,-2,-2,0,0,-2,-2,-2,-2,0];
y=filter(b1,a1,x);
subplot(221);plot(n,x);然后就有提示错误Vectors must be the same lengths
问题解答:
我来补答展开全文阅读