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

M=gene_bruit_structure(te,D)
function M=gene_bruit_structure(te,D)
fe=1/te;
f=0:1/D:fe/2;
N=D/te;
sc=sum(100*clock);
randn('state',sc);
Y=exp(j*2*pi*randn(size(f)))/sqrt(N);
Y(1)=1/sqrt(N);
%Y(1)=0;
long=length(Y);
YR=fliplr(Y(2:long));
YB=[Y conj(YR)];
N=length(YB);
[u t]=tfdinv(YB,fe);
umoy=mean(u)
variance=mean(u.^2)
signals=struct('values',real(u)','dimensions',1);
M=struct('time',[],'signals',signals);
%M=[t' real(u)'];

Contact us