Control System Analysis Techniques course error
显示 更早的评论
In the Time domain section of the course when I use the step function to plot the grpah it keeps saying i am wrong even though it is the exact same code and graph. Those anyone have anny solutions
below is the code
s = tf('s');
quadcopter_ol = 0.04133/(s + 0.01479);
controller = zpk(-5,0,100);
Task 1
step(quadcopter_ol)
2 个评论
Is it look for step(controller) ?
s = tf('s');
quadcopter_ol = 0.04133/(s + 0.01479);
controller = zpk(-5,0,100);
step(controller)
Dunbarin
2026-5-3,10:06
回答(1 个)
Hi @Dunbarin
If this topic is related to control systems, you are probably required to implement the controller on the open-loop quadcopter to form a closed-loop control system with the desired characteristics, such as the settling time.
s = tf('s');
% Open-loop system
quadcopter_ol = 0.04133/(s + 0.01479)
% Controller
controller = zpk(-5,0,100)
% Closed-loop system
closedLoop = feedback(controller*quadcopter_ol, 1)
% Step response of the closed-loop system
step(closedLoop), grid on
类别
在 帮助中心 和 File Exchange 中查找有关 Stability Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


