Matlab tools

From Control Systems Technology Group

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
=== 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.   
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.   
Line 12: Line 14:
[[Frequency Response Function Plotting]]
[[Frequency Response Function Plotting]]
 +
 +
=== 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]]

Revision as of 14:35, 20 December 2011

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.

Figure Print Preparation Tool

Figure Saving Tool (PDF and EPS)

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

Tool to make nice Bode plots for articles and reports

Frequency Response Function Plotting

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

Personal tools