MATLAB: How can i multiply the transfer function with a vector) Control System ToolboxMATLABtransfer function How can i multiply the transfer function with a vector ?? Best Answer You can use the LSIM command.For example:s = tf('s');G = (1.659e010*s^2 + 9.123e012*s + 4.147e014)/ (1.011e-005*s^7 + 0.02896*s^6 + 99.2*s^5 + 1.461e005*s^4+ 2.187e008*s^3 + 1.042e011*s^2 + 1.308e013*s+ 4.147e014)t = 0:0.001:10;u = sin(t.^3);y = lsim(G,u,t);plot(t,u,t,y);legend({'Input (u)', 'Output (y)'}) Related SolutionsMATLAB: Finding the poles in Transfer Function s = tf('s'); G = 1 / (s * (s + 2) * (s + 4)); pole(G) MATLAB: How can i find the lsim info for this transfer function G = tf(1,[1 2 5]); % whatever your transfer function is t=0:0.001:1; u=100*heaviside(t); % Step in 100 level resp = lsim(G,u,t); S = lsiminfo(resp,t);The above user resp(end) as the steady-state value. Related QuestionPlease help why is the lsim not plottingS-Function Error flag ErrorLsim giving wrong results
Best Answer