tf is not working .

85 views (last 30 days)
Mang Thawng
Mang Thawng on 29 Sep 2021
Moved: Arkadiy Turevskiy on 11 Jan 2024
R=470;
L=100*10^-3
C=0.22*10^-6
L =
0.1000
C =
2.2000e-07
num=[1/(R*C) 0]
num =
1.0e+03 *
9.6712 0
>> den=[1 1/(R*C) 1/(L*C)]
den =
1.0e+07 *
0.0000 0.0010 4.5455
>> T=tf(num, den)
'tf' requires one of the following:
Control System Toolbox
DSP System Toolbox
Model Predictive Control Toolbox
RF Toolbox
Signal Processing Toolbox

Accepted Answer

Star Strider
Star Strider on 29 Sep 2021
Moved: Arkadiy Turevskiy on 11 Jan 2024
License and install the Control System Toolbox and the code should work.
R=470;
L=100E-3;
C=0.22E-6;
L = 0.1000;
C = 2.2000e-07;
num=[1/(R*C) 0]
num = 1×2
1.0e+03 * 9.6712 0
den=[1 1/(R*C) 1/(L*C)]
den = 1×3
1.0e+07 * 0.0000 0.0010 4.5455
T=tf(num, den)
T = 9671 s ----------------------- s^2 + 9671 s + 4.545e07 Continuous-time transfer function.
figure
bodeplot(T)
.

More Answers (0)

Categories

Find more on Modeling 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!