Sinusoidal steady state response to sinusoidal input
Mostrar comentarios más antiguos
So I have a transfer function of a feedback system,
>> yd
yd =
s^3 + 202 s^2 + 401 s + 200
------------------------------
s^3 + 202 s^2 + 20401 s + 1e06
Of which I'd like to look at the sinusoidal steady state response to the disturbance d(t) = sin(130t).
How do you do this in matlab? I'm well aware of how to get a step or impulse response, but not a sinusoidal response.
1 comentario
Rena Berman
el 15 de Oct. de 2018
(Answers Dev) Restored edit
Respuesta aceptada
Más respuestas (1)
Abdulhakim
el 11 de Nov. de 2023
Editada: Abdulhakim
el 11 de Nov. de 2023
If you know the Laplace transform of the input you can exploit the fact that the impulse function in the s-domain is equal to 1. Here is how:
For a system
with input
and output 
Since 
impulse(G*R) is actually the output in the time domain
.
The laplace transform for 
num = [1 202 401 200];
den = [1 202 20401 10^6];
G = tf(num,den)
SIN = tf(130,[1 0 130^2]);
C = G*SIN
impulse(C)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!