Why do I get error when solve the bode plot

5 vues (au cours des 30 derniers jours)
Kamar Ledgister
Kamar Ledgister le 18 Déc 2020
Commenté : Star Strider le 18 Déc 2020
clear all
clc
R1=3143;
R2=5000;
R3=1000;
Rf=1000;
L=10000;
C1=2.53*(10^-5);
C2=3.1831*(10^-5);
num=[(R1*R2*C1*C2*L*(R3+Rf)^2) 0 0 0]; den=[(C1*C2*R1*R2*R3*L) (C1*R1*R3*L)+(C2*R2*R3*L) (R3*L)+(C2*R1*R2*R3) (R1*R3)];
sys=tf(num,den);
figure
bode(sys)

Réponses (1)

Star Strider
Star Strider le 18 Déc 2020
Your code runs without error in R2020b.
What MATLAB version are you using?
What is the error?
  4 commentaires
Kamar Ledgister
Kamar Ledgister le 18 Déc 2020
Thank you
Star Strider
Star Strider le 18 Déc 2020
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Time and Frequency Domain Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by