figure

조회 수: 3 (최근 30일)
mohamed  al-asklany
mohamed al-asklany 2012년 3월 31일
how to move line in a figure continuously by which one of its ends fixed at zero and the ling move around zero

채택된 답변

Wayne King
Wayne King 2012년 3월 31일
You mean like?
r = 1;
theta = 0:0.01:(2*pi);
y = r.*exp(1j*theta);
for nn = 1:length(theta)
quiver(0,0,real(y(nn)),imag(y(nn)));
axis([-1 1 -1 1]); grid on;
pause(0.05);
end
  댓글 수: 2
mohamed  al-asklany
mohamed al-asklany 2012년 4월 1일
what amazing you man !!!!!!!!!!!!!!!!!!!!
you know i search for this up to 3 months
really you are master in matlab
but keep me on touch because some of things are blocked me
thanks very very very very much dr/wayne king
mohamed  al-asklany
mohamed al-asklany 2012년 4월 1일
can i make line rotate 300 deg then stop and rotate in the revers direction 300 deg also and so on?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by