tf toolbox not recognized function
337 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
I have signal processing toolbox installed but when I type tf transfer function, it said unrecognized function
0 Kommentare
Antworten (2)
Star Strider
am 26 Nov. 2019
I have no idea what you are doing.
This works when I run it (in R2019b):
s = tf('s');
transfer_function = (s^2 + 2*s + 5)/(s^3 + 10*s^2 + 5*s + 42);
sys = tf(transfer_function)
and produces:
sys =
s^2 + 2 s + 5
-----------------------
s^3 + 10 s^2 + 5 s + 42
Continuous-time transfer function.
2 Kommentare
Star Strider
am 26 Nov. 2019
Yuanju Chao’s Answer moved here —
R = 37.56e3;
C = 0.156e-12;
G1 = 1/R; % R2N in schematic
C2 = (C * 46)/2; % C120/2 in schematic
G4 = G1 ; % R3N in schmeatic
G3 = 2 * G1; % R4N in schematic
C5 = 32 * C; % C2N in schemaitc
b0 = - G1*G3;
a2 = C2 * C5;
a1 = C5 * ( G1+ G3 + G4);
a0 = G3*G4;
Ts2ndPZR = tf ( b0, [a2,a1,a0])
Unrecoginzed function of variable 'tf'
Star Strider
am 26 Nov. 2019
To find out if you do, type:
ver control
in your Command Window or a script.
When I do that it produces:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1247435 (R2019b) Update 2
MATLAB License Number: #####
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 17763)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Control System Toolbox Version 10.7 (R2019b)
For obvious reasons, I have not posted my License Number.
enescan
am 15 Mai 2024
% Transfer fonksiyonu parametreleri
K = 1; % Kazanç değeri, bunu isteğinize göre ayarlayabilirsiniz
numerator = K * [1 3 2]; % Pay kısmı (s+1)(s+2)
denominator = [1 4 16 0 0]; % Payda kısmı s^4 + 4s^3 + 16s^2
% Transfer fonksiyonunu oluşturma
G = tf(numerator, denominator);
% Bode diyagramı çizme
figure;
bode(G);
title('Denetimsiz Sistem Bode Diyagramı');
grid on;
% Nyquist diyagramı çizme
figure;
nyquist(G);
title('Denetimsiz Sistem Nyquist Diyagramı');
grid on;
0 Kommentare
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!