x =[-3:0.01:3];
y = xsin(1/x);
figure,plot(x,y)
错误使用 /
矩阵维度必须一致。
刚学Matlab,这个报错啥问题呀,为什么不让我用/

 채택된 답변

bdtyatw
bdtyatw 2023년 5월 21일

0 개 추천

仅供参考
x =[-3:0.01:3];
y = x.*sin(1./x);
figure,plot(x,y)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 等高线图에 대해 자세히 알아보기

태그

질문:

2023년 5월 21일

답변:

2023년 5월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!