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_triangle(DEF)
function x=signal_triangle(DEF)

m=DEF(9);
te=DEF(10);
A=DEF(1);
f0=DEF(2);
phi=DEF(3);
CC=DEF(4);
k=(0:1:2^m-1)';
x=A*(2/pi)*asin(sin(2*pi*f0*k*te+phi*pi/180))+CC;

Contact us