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

3 次查看(过去 30 天)
Victor  Calinao Jr
Victor Calinao Jr2021-10-5
回答: Jesús Zambrano ,2021-10-6
$$\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.

回答(1 个)

Jesús Zambrano
Jesús Zambrano 2021-10-6
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!

Translated by