plot and parallel translation???

조회 수: 1 (최근 30일)
paul
paul 2015년 11월 3일
댓글: Nitin Khola 2015년 11월 5일
please look at the picture. this is the code of picture.
clc;clear;
syms w
for m = 2:1:5
for n = 1:1:m
a(n)=(-1*sin(((2*n-1)*pi)/(2*m))+i*cos(((2*n-1)*pi)/(2*m)));
if n==1
F=1/(i*w-a(n));
else
F=F*1/(i*w-a(n));
end
end
ezplot(angle(F)*180/pi,[0,3])
hold on
grid on
end
I want 0 or more of the graph wants to move it to 360 degrees subtract parallel . beacause atan2 have range(-pi ~ pi). I think It cause The results graphs are separated. but I have no Idea about solve this problem..... please help me.....
  댓글 수: 1
Nitin Khola
Nitin Khola 2015년 11월 5일
If you want to impose a condition on values greater than zero, you can do so using logical operators. But, I am not entirely sure about your question. Please phrase it more clearly so that we know what question you are trying to ask.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by