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

x=signal_carre(DEF)
function x=signal_carre(DEF)

m=DEF(9);
te=DEF(10);
A=DEF(1);
f0=DEF(2);
ret=DEF(7)/100;
CC=DEF(4);
r=DEF(5)/100;
S=1-r;
phi=-360*ret;
y=(signal_triangle([0.5;f0;90+phi;0.5;DEF(5:11)])>=S)-r;
x=y*A+CC;

Contact us