How can we define sampling time for a discrete time integrator using SIMULINK
Please give me a example for this.
I want a discrete time integrator with a sampling freq of 1MHz how can i design this in a matlab simulink using transfer function [(1/z)/{1-(1/z)}]
you should use zero order hold to discretize your system, therefore the sampling time introduce in the transfer function of your system, for an integrator the discretized system with zero order hold is
you should use zero order hold to discretize your system, therefore the sampling time introduce in the transfer function of your system, for an integrator the discretized system with zero order hold is
I am using the zero order hold before giving input to the integrator.
i m getting doubt in mentioning the sample time in it.
if i want a 1Mhz sampling then the sampling time that i should mention in it is 0.0000001!!!!!!! am i right!!!!!
If your sampling freq is 1Mhz, so your sampling time is 1e-6, you should use zero order hold after your continuoes signal and then your discrte time integrator.
for example I have simulated following scheme. you can see the result and compare the discrete and continuos integartor waveforms.
I upload the simulink file also.
I hope to be useful