Matlab tools: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The following two tools are very useful when creating figures for scientific publications. They give you full control on figure size, margins, text size, font size, etc, etc. 
=== Matlab ===


[[Figure Print Preparation Tool]]
The following two tools are very useful when creating figures for scientific publications. They give you full control on figure size, margins, font, font size, etc, etc. 


[[Figure Saving Tool (PDF and EPS)]]
* [[Figure Print Preparation Tool]] (setplot.m)
 
* [[Figure Saving Tool (PDF and EPS)]] (saver.m)


Tool to set the position and size of figures on your screen. Usefull when you want to position figures side by side every time you run your m-file.
Tool to set the position and size of figures on your screen. Usefull when you want to position figures side by side every time you run your m-file.


[[Figure Positioning Tool]]
* [[Figure Positioning Tool]] (pos.m)
 
Tools to make nice Bode and Nyquist plots for articles and reports
 
* [[Frequency Response Function Plotting]] (frf.m)
* [[Nyquist plot, with only positive frequencies and 6dB circle around -1 point ]] (nyquist2.m)
 
Mass-spring-damper models (arbitrary number of masses)
 
* [[Mass-spring-damper models]] (mkdsys.m)
 
ShapeIt - Loopshaping Controller Design Tool
 
* [[Home of ShapeIt]]
 
=== Simulink ===
 
Discrete time controller blocks, on the Matlab command prompt use make.m to mex the c-files first. Command "dctools" will open a template model with the controller filters. Drag and drop them from the template model to your own model. The discrete-time implementation of the blocks has been based on "Tustin-with-prewarping". The prewarping frequency has been chosen with respect to the respective block function, e.g. for a pure notch filter the prewarping frequency is equal to the notch frequency.
 
* [[File:Dctools.zip]]
 
Good old single axis 3rd order reference generator of René van de Molengraft.
 
* [[Ref3]]

Latest revision as of 12:45, 11 March 2014

Matlab

The following two tools are very useful when creating figures for scientific publications. They give you full control on figure size, margins, font, font size, etc, etc.

Tool to set the position and size of figures on your screen. Usefull when you want to position figures side by side every time you run your m-file.

Tools to make nice Bode and Nyquist plots for articles and reports

Mass-spring-damper models (arbitrary number of masses)

ShapeIt - Loopshaping Controller Design Tool

Simulink

Discrete time controller blocks, on the Matlab command prompt use make.m to mex the c-files first. Command "dctools" will open a template model with the controller filters. Drag and drop them from the template model to your own model. The discrete-time implementation of the blocks has been based on "Tustin-with-prewarping". The prewarping frequency has been chosen with respect to the respective block function, e.g. for a pure notch filter the prewarping frequency is equal to the notch frequency.

Good old single axis 3rd order reference generator of René van de Molengraft.