Error using plot Vectors must be the same lengths.
이전 댓글 표시
x=0:4*pi;
y1=3.0*cos(x)-0.5*sin(x);
y2=diff(y1);
plot(x,y1,'r',x,y2,'b')
i want to plot those y1 , y2 in one graph but it said
Error using plot
Vectors must be the same lengths.
what should i do???
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!