作业帮 > 综合 > 作业

跪等!matlab中Vectors must be the same lengths

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/25 17:43:45
跪等!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
plot(n,x)的n是什么 ?
貌似是画图时坐标长度不一样