Zero order hold for signal reconstruction

34 Ansichten (letzte 30 Tage)
Maleeha Syed
Maleeha Syed am 16 Jan. 2023
Kommentiert: Maleeha Syed am 16 Jan. 2023
Hi I am using
yr2=interp1(ndtv,ys,t1,'linear');
to reconstruct analog signal from discrete signal using first order hold. Is there a way to use this command for zero order hold?

Akzeptierte Antwort

Paul
Paul am 16 Jan. 2023
Perhaps set the method input to interp1 to 'previous'.

Weitere Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by