A sinusoid has just been fed into a system.
Show older comments
The system in question has a frequency response given by H(w) = 1/(1+0004jw), where w represents frequency in rads/second.
The input sinusoid has an amplitude of 3, phase of 0 radians and a frequency of 33Hz.
How would I determine the amplitude and phase (between -pi and pi rads) of the sinusoidal output?
Many thanks.
(Keep in mind that an LTI system never changes the frequency of a sinusoid.)
8 Comments
Paul
on 26 Mar 2022
Do you know the theoretical answer to the question and are just asking how to implement that theory in Matlab?
Jonathan George
on 26 Mar 2022
Can you do something with this bode() function?
[mag, phase, wout] = bode(sys, w);
Think you need to convert the frequency in 33 Hz to rad/s. Do you know how to do it?
Jonathan George
on 26 Mar 2022
Star Strider
on 26 Mar 2022
I don’t understand the leading zeros here:
H(w) = 1/(1+0004jw)
Is there a decimal point missing?
Jonathan George
on 26 Mar 2022
Star Strider
on 26 Mar 2022
No worries!
Sam Chak
on 26 Mar 2022
No wonder, I almost use
s = tf('s');
sys = 1/(1 + 4*s);
bode(sys)
The Bode plot can tell you whether a sinusoidal input signal in amplified or attenuated (in dB), or how much it is shifted in phase when passing through a linear dynamical system at a certain frequency. These info are generally useful when designing low-pass and high-pass filters.
Accepted Answer
More Answers (1)
This is sort of the "control theorist's way", if you are interested to learn.
s = tf('s');
sys = 1/(1 + 0.004*s)
omega = 33*2*pi;
[mag, phase, wout] = bode(sys, omega)
Input_Amplitude = 3
Output_Amplitude = Input_Amplitude*mag
Output_phase_in_radian = (pi/180)*phase % the unit degree is commonly used
sys =
1
-----------
0.004 s + 1
Continuous-time transfer function.
mag =
0.7697
phase =
-39.6716
wout =
207.3451
Input_Amplitude =
3
Output_Amplitude =
2.3091
Output_phase_in_radian =
-0.6924
Categories
Find more on Time and Frequency Domain Analysis 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!