Zero order hold for signal reconstruction

32 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!