Matavecontrol is a basic toolbox for control engineering. The toolbox can be used for both GNU Octave and MATLAB®. Easy to use and easy to install. The main focus on matavecontrol is to offer a control toolbox which can be used in both GNU Octave and MATLAB®. Matavecontrol has the same function names as MATLAB®'s Control System ToolBox, but the time discrete functions are included in the time continuous functions. Also the library is a very basic library so other developers can fast dive into the code.
To use Matavecontrol, you should allways start with to create a transfer function or a state space model. Then you can use that mathematical model in almost all the function of Matavecontrol.
Here is some examples when I use Matavecontrol. MATLAB pictures are from Umeå University.
Creating a transfer function in MATLAB®
Creating a transfer function in GNU Octave
Create a bode diagram plot in MATLAB®
Create a bode diagram plot in GNU Octave
Create a state space model in MATLAB®
Create a state space model in GNU Octave
Do a step simulation in MATLAB®
Do a step simulation in GNU Octave
Convert a time continuous transfer function to a discrete transfer function in MATLAB®
Convert a time continuous transfer function to a discrete transfer function in GNU Octave
Do a nyquist diagram plot in MATLAB®
Do a nyquist diagram plot in GNU Octave
Model Predictive Control
To install Matavecontrol, download the folder "sourcecode" and place it where you want it. Then the following code need to be written in the terminal of your MATLAB® or GNU Octave program.
path('path/to/the/sourcecode/folder/where/all/matave/files/are/matavecontrol', path) savepath
path('/home/hp/Dokument/Reglerteknik/matavecontrol', path) savepath
Important! All the .m files need to be inside the folder matavecontrol if you want the update function to work.
Write this inside the terminal. Then Matavecontrol is going to download new .m files to matavecontrol from GitHub