Code covered by the BSD License  

Highlights from
Logiciels temps réel

Logiciels temps réel

by

 

Real-time software concerning the domains of the signal processing, feedback and regulation

[entree,e_init,sortie,s_init,t]=affichage_courbe_ret(DEF,x)
function [entree,e_init,sortie,s_init,t]=affichage_courbe_ret(DEF,x)


NT=DEF(9);
N=DEF(8);
t=(N-NT:1:N-1)*DEF(4);
figure(2)
e=x(:,1);
s=x(:,2);
figure(2)
set(gcf,'color','w')
k=find(t<0);
plot(t',e,'b',t',s,'r')
grid on
e_init=mean(e(k));
entree=x(:,1)-e_init;
s_init=mean(s(k));
sortie=x(:,2)-s_init;
hgcf=get(gcf,'child');
test=[];
lgcf=length(hgcf);
for kgcf=1:1:lgcf
    test=[test;strcmp(get(hgcf(kgcf),'type'),'uimenu')];
end
if ~any(test)
    hh=uimenu('label','IDENTIFICATION','foregroundcolor','r','callback','[NUM,DEN,DENP]=calcul_T2(e,s,t,DEF,ei,si);');
end;

Contact us