Index exceeds the number of array elements (1) using transfer function
Ältere Kommentare anzeigen
I don't understand what is wrong, it's frustrating.
% set up motor with initial conditions and properties
motor.timeConstant = 0.65; % [min]
motor.gain = 0.5; % [rpm/V]
% transfer function for the motor
s = tf('s');
TFmotor_OL = motor.gain / (motor.timeConstant*s +1);
ERROR message:
>> Tutorial3controllingplant
Index exceeds the number of array elements (1).
Error in Tutorial3controllingplant (line 6)
s = tf('s');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Motor Drives finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!