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

3 vues (au cours des 30 derniers jours)
Victor  Calinao Jr
Victor Calinao Jr le 5 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.

Réponses (1)

Jesús Zambrano
Jesús Zambrano le 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!

Translated by