Question: Write a Matlab / Octave function samplehold ( t , x , h ) which, from the signal x ( t ) , where t

Write a Matlab/Octave function samplehold(t,x,h) which, from the signal x(t), where t belongs to the interval [0,1] and 1> h >0, returns a corresponding signal (with as many elements as the vector x(t)) which is sampled in a holding circuit with the sampling interval h. Then the final result will thus be x(0) in the interval [0,h[, x(h) in the interval [h,2h[ etc. Corresponding graph can be produced with the graphics function "stairs.m", but this is not what should be used here. Apply accuracy to four decimal places

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!