Zero order hold for signal reconstruction

34 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Paul
Paul il 16 Gen 2023
Perhaps set the method input to interp1 to 'previous'.

Più risposte (0)

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by