syms t snum = [0 0 1 2 1]den = [1 2 2 2 0]sys=tf(num,den)h=matlabFunction(ilaplace(sys))t=1:0.01:20plot(t,h(t))xlabel('Time [sec]')ylabel('y(t)')
I am trying to plot the inverse laplace of sys. But I can't solve the error, please help!!
"inverse laplace plot"
syms t snum = [0 0 1 2 1]den = [1 2 2 2 0]sys=tf(num,den)h=matlabFunction(ilaplace(sys))t=1:0.01:20plot(t,h(t))xlabel('Time [sec]')ylabel('y(t)')
Best Answer