%comp% parametre pour la derivée 
% print(['-s',gcb],'-jpg',strrep([gcb,'.rep'],'/','-'));
% print(['-s',gcb],'-deps',strrep([gcb,'.eps'],'/','-'));
% print(['-s',gcb],'-djpeg',strrep([gcb,'.jpg'],'/','-'));

a=-1.1
b=.2
Ts=.1
K=.15

T=.01
w=2*Pi


if 1==2 
% calcul x
xt=0;
theta=[0:.1:6]*pi/180;
xt=sin(theta);
yt=sin(theta);
plot(xt,yt)
f=10
w1=2*pi*f;
w2=2*pi*f*100;
t=[0:.0001:.5];
x=(cos(w1*t)+1)/2*10 ;% ramene a zero et 6
y=(cos(w2*t)+1)/2*10 ;% ramene a zero et 6

%on calcul les angles
xs=sin(x*pi/180);
ys=sin(y*pi/180);
xxs=xs/max(xs);
yys=ys/max(ys);


plot(xxs,yys,'--rs','LineWidth',2,...
                'MarkerEdgeColor','k',...
                'MarkerFaceColor','g',...
                'MarkerSize',10)

figure
plot(t,xs,'--rs','LineWidth',2,...
                'MarkerEdgeColor','k',...
                'MarkerFaceColor','g',...
                'MarkerSize',10)
            
hold on
plot(t,ys,'--rs','LineWidth',2,...
                'MarkerEdgeColor','g',...
                'MarkerFaceColor','g',...
                'MarkerSize',10)
hold off
end
