MATLAB: How to express ZOH transfer function in Matlab

zoh transfer function

I am tring to express ZOH transfer funcation in S domain and bode plot it. The transfer functino is shown below:
(1-exp(-s*Ts))/s
The question is how to express it, is there any function related to it?
Thanks.

Best Answer

s=tf('s');
Ts=0.1 %replace with desired value
sys=(1-exp(-s*Ts))/s
bode(sys)