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

reconstitution_bilaterale.m
clear all
figure(1)
e=ecran;    % ecran est une fonction "maison" : ecran=get(0,'screensize');
%if e(1)<0
%   e(1)=0;
%end;
set(gcf,'position',e)
set(gcf,'color','y')
set(gcf,'unit','normalized')
grid off
s1='RECONSTRUCTION D''UN SIGNAL';
s2='A PARTIR DE SA DECOMPOSITION';
s3='EN SERIE DE FOURIER BILATERALE';
s4='(Fe = 5 kHz - N = 5 000)';
pause (0.1)
set(gca,'color','y','xcolor','y','ycolor','y')
text(0.5,0.9,s1,'color','b','fontunits','normalized','fontsize',0.07,'fontweight','bold','horizontalalignment','center')
hold on
text(0.5,0.7,s2,'color','b','fontunits','normalized','fontsize',0.07,'fontweight','bold','horizontalalignment','center')
text(0.5,0.5,s3,'color','b','fontunits','normalized','fontsize',0.07,'fontweight','bold','horizontalalignment','center')
text(0.5,0.3,s4,'color','b','fontunits','normalized','fontsize',0.07,'fontweight','bold','horizontalalignment','center')

text(0.05,0.1,'IUT de Montluon - Dpartement GEII','color','r','fontunits','normalized','fontsize',0.03,'fontweight','bold','horizontalalignment','left')
text(0.95,0.1,'F. Gary - P. Le Bars','color','r','fontunits','normalized','fontsize',0.03,'fontweight','bold','horizontalalignment','right')
text(0.5,0.2,'(Pour continuer, appuyer sur une touche)','color','b','fontunits','normalized','fontsize',0.03,'fontweight','bold','horizontalalignment','center')
pause
delete(gcf)
%*****************initialisation de fe et m*************************
te=2e-4;
fe=1/te;
N=5000;
matrice.time=[];
matrice.signals.values=zeros(N,1);
matrice.signals.dimensions=1;
erreur=0;
s='';
[y,U,matrice,s]=def_spectre(fe,N,s);

Contact us