作业帮 > 综合 > 作业

matlab中的输出表,我用conv后输出,有提示,请高手指点

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/02 01:36:06
matlab中的输出表,我用conv后输出,有提示,请高手指点
>> N=200-1; n=1:100; x1=0.5*n; x2=2*n; yc=conv(x1,x2);subplot(3,1,3),stem(N,yc); ? Error using ==> stem The length of X must match the number of rows of Y.
STEM(X,Y) plots the data sequence Y at the values specified in X. 意思是按照X的次序画Y,所以X应该和Y的维数相同, N=1:200-1;这样就可以了