rlocus and rlocfind for closed-loop

13 views (last 30 days)
Numan Gürkan
Numan Gürkan on 26 Jan 2021
Commented: Numan Gürkan on 28 Jan 2021
I have to create a matlab code on these plots and get a printout, but whatever code I tried, it always gave an error. I could not get a graphic. I need code to run this closed loop system
  6 Comments
Paul
Paul on 28 Jan 2021
It looks like the Control System Toolbox is not installed, which will make this problem much more difficult than it would be otherwise. Recommend you check with whoever is respoosible for your installation and make sure you have all of the toolboxes you need installed and licensed. It should look like this if you have all toolboxes installed:
>> which tf -all
C:\Program Files\MATLAB\R2019a\toolbox\control\ctrlmodels\@tf\tf.m % tf constructor
C:\Program Files\MATLAB\R2019a\toolbox\control\ctrlmodels\@DynamicSystem\tf.m % DynamicSystem method
C:\Program Files\MATLAB\R2019a\toolbox\ident\ident\@idParametric\tf.m % idParametric method
C:\Program Files\MATLAB\R2019a\toolbox\mpc\mpc\@mpc\tf.m % mpc method
C:\Program Files\MATLAB\R2019a\toolbox\shared\controllib\engine\@StaticModel\tf.m % StaticModel method
For thiis problem you won't need the Model Predictive Toolbox, but you should have the Control System Toolbox.
If you had the Control System Toolbox you would define the transfer function for the ball the same way you've tried to do it for the circuit using the numerator and denominator coefficients as shown in the block diagram.
Numan Gürkan
Numan Gürkan on 28 Jan 2021
Yes the toolbox is missing, I installed it and it was fixed. Thank you. Now I just have to set the code. thank you again for your help

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!