سلام.عزیزم.میتونی ارور اینو واسم بگیری.هر چی طول رو تغییر میدم باز ارور میگیره.
a=[66.806549,65.956334,170.005693,521.463785,1121.954031];
b=[102.246122,63.865802,109.554140,257.038648,572.463319];
c=[0:0.2:2];
plot(c,a,'-o');
hold on
plot(c,b,'-s');
grid on
hold off
اینم ارورش:
Error using plot
Vectors must be the same lengths.
Error in test7 (line 4)
plot(c,a,'-o');