hi all;
i have a for loop that calculates an angle theta
then i generate two matrix x=[-cos(theta) cos(theta)] and y=[-sin(theta) sin(theta)] in matlab i use the drawnow command inside the for loop to generate the animation of the rotating rod as you know the drawnow matlab function has no scilab equivalent and i was wondering if there is an way to generate the animation
regards
my code in matlab is something like that

for q=1:N
theta = //calulation step
x=[-cos(theta) cos(theta)]
y=[-sin(theta) sin(theta)]
plot(x,y)
drawnow
end
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to