yildiza
Newbie level 4
Hi,
I simply wrote:
for i = 1 : NUMY;
if(Y(i)>50 || Y(i)<-50)
Y(i) = 0;
end
end
to limit magnitudes of array elements but it does not work. I am not familiar with matlab coding, anyone can help me about this simple problem? Thank you.
I simply wrote:
for i = 1 : NUMY;
if(Y(i)>50 || Y(i)<-50)
Y(i) = 0;
end
end
to limit magnitudes of array elements but it does not work. I am not familiar with matlab coding, anyone can help me about this simple problem? Thank you.