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

[S,K]=estimation_DSP(x,N1)
function [S,K]=estimation_DSP(x,N1)

y=reshape(x,[N1,length(x)/N1]);
[Y,K]=fft_tfd(y,ones(N1,1));
YP=Y.';
SP=mean(abs(YP).^2);
S=SP';
figure(4)
spectre(-N1/2:N1/2-1,fftshift(SP),'b',2)
v=axis;
v(1:2)=[-N1/2,N1/2-1];
axis(v)
xlabel('k','fontunits','normalized','fontsize',0.03,'fontweight','bold')
ylabel('<|X_k|^2>','fontunits','normalized','fontsize',0.03,'fontweight','bold')


Contact us