新手使用matlab出现Error using ==> plot Vectors must be the same lengths.subplot(3,1,1)x1=-pi:pi/50:pi;y1=x.*cos(x);plot(x1,y1,'m.')grid on,title('y=xcosx'),xlabel('x轴'),ylabel('y轴')gtext('y=xcosx'),legend('y=xcosx')subplot(3,1,2)x2=pi:pi/50

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/22 00:20:36
xJ@_ev0&NFALvB1)L@ .pŗ1դНr7Oa1_~q7]=N"+Ei@g> ! R!eQAdDG|vKDe3 |A-4#,R#S]+FPL459cYCNoctPC8d je%mVJٮD^p\9lh'SsavOud°Lّ.zҁZh ֳ{dl$7G]`~פ8jHL[-> K bptdc KKus_{,o~%r?¿4ӹ