i use this code but matlab show me an eror how i can fix this eror
also i want plot (>) with angle fee how i can do that ?
clear all t=0; x(t)=input('Enter X(0) ='); y(t)=input('Enter Y(0) ='); fee(t)=input('Enter Fee(0) ='); for (x(t+1)~=10)&&(fee(t+1)~=90) t=t+1; plot(x(t),y(t),'>'); x(t+1)=x(t)+cos(fee(t)+teta(t))+sin(teta(t))*sin(fee(t)); y(t+1)=y(t)+sin(fee(t)+teta(t))-sin(teta(t))*cos(fee(t)); fee(t+1)=fee(t)-asin((2*sin(teta(t)))/4); end
Best Answer