how can i do to use laplace transformation result into tf?

1 view (last 30 days)
this is my code.
syms x t y z c T; G=T*diff(y)+y; U=laplace(G) sys=tf(U) t=0:.1:20; % time f=200; % frequency omega = 2*pi*f; % rad/s u=sin(omega*t); % input : harmonic function - sin(wt) to lsim(sys,u,t) % Check
when i run this code, the number of line 4 has error that order 'tf' run only numerical matrixs. I have known order tf. but, I want to use laplace transformation result directly. How can i do?

Answers (0)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!