je veut si (teta==pi/4) le programme Ne pas entrer dans le calcul et compléments la boucle
merci
clc
clear
syms nx ny rk real
p=11
m=11
for K=1:m
teta(K)=K*2*pi/(2*p+a+1)-pi
if teta>-pi/4 & teta<pi/4
nx=1;rk=abs(1/cos(teta));ny=0;
end
if teta>3*pi/4 & teta<pi| teta>-pi & teta<-3*pi/4
ny=0;rk=abs(1/cos(teta)); nx=1;
end
if teta>-3*pi/4 & teta<-pi/4
nx=0;rk=abs(1/sin(teta));ny=-1;
end
if teta>pi/4 & teta♥*pi/4
ny=1; rk=abs(1/sin(teta));nx=0;
end
if teta==pi/4
end
for n=1
R(K,n)=imag(rk^((-3/2)+n)*(cos(((-3/2)+n)*teta)+i*sin(((-3/2)+n)*teta))*(nx+i*ny));
end
end
-----