How can I plot the frequency response of the equation below using MATLAB?

8 views (last 30 days)
Victor  Calinao Jr
Victor Calinao Jr on 5 Oct 2021
Answered: Jesús Zambrano on 6 Oct 2021
$$\boxed{\dfrac{V_{out}(j\omega)}{V_{in}(j\omega)}=\dfrac{2\times10^9}{(1+10j\omega)(100\times10^3j\omega+20\times10^3j\omega+2\times10^9-20\times10^3j\omega}}$$
and
$$\dfrac{V_{out}(j\omega)}{V_{in}(j\omega)}=\dfrac{j\omega LR_1R_2}{(j\omega L)((1+j\omega C R_2)(j\omega LR_2+j\omega LR_1+R_1R_2)-j\omega LR_1)}$$
I am having a hard time figuring out how can I translate them into symbolic math or what I will do to them to get their frequency response plots.

Answers (1)

Jesús Zambrano
Jesús Zambrano on 6 Oct 2021
Hi Victor,
Please try:
tf1 = tf([2e9],[10 1]);
tf2 = tf(1, [100e3 2e9]);
mytf = tf1*tf2;
bode(mytf)
where each vector in the transfer functions should be nonempty and containing numeric data.
Hope it helps!

Community Treasure Hunt

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

Start Hunting!