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_impulsions(DEF)
function x=signal_impulsions(DEF)

m=DEF(9);
te=DEF(10);
A=DEF(1);
f0=DEF(2);
phi=DEF(3);
ret=DEF(7);
k=(0:1:2^m-1)';
x=zeros(2^m,1);
T0=1/f0;
n=find(round(k*te/T0+ret)==k*te/T0+ret);
x(n)=A/te;

Contact us