- #1

cupcake

- 76

- 0

Gp(s)=(Kp/sT+1)*e^(-sL) in frequency domain,

in time domain y(t)=Kp*(1-exp(t-T)/L)*1(t-L)

where, the value of Kp, T and L are known.. and t is matric time from 0-24.5 [0, 0.5, 1...24.5]

how to write y(t) in MATLAB code? when I just wrote the y(t) as I wrote above, I got this error msg : Error using ==> mtimes

inner matrix dimensions must agree