Reconstucting a signal using Sinc function

i have sampled a signal and im trying to reconstruct the signal according to the ideal sinc filter idea.
so i have a signal lets say
and i have sampled it in 50hz for the sampled signal -Xs
and the countinous signal is sampled at 400hz-Xc
then i put the samples from Xs to fit the Xc where for each point without Xs is get a zero . that gave me (time domain to be clear)
now i want to reconstruct the signal from the formula :
and im not sure how the original signal will come from this application.
thank you very much. if the question was not specific enough tell me.
Tc=1/400,Ts=1/50;
ts=0:Ts:0.4;
tc=0:Tc:0.4;
Xs10=cos(2*pi*1*f0*ts);
Sinc11=zeros(length(Xs10));
for i=0:length(Xs10)
Sinc1=Xs10(i+1).*sinc(pi*(Tc-i/50)*50);
Sinc11=Sinc11+Sinc1;
end
plot(tc,Sinc1);

Réponses (0)

Catégories

En savoir plus sur Signal Generation and Preprocessing dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by