opt = bodeoptions()
| Parameter | Description |
|---|---|
| opt | a structure holding the Bode plot options. |
opt = bodeoptions() returns a structure holding the Bode plot options with their default values.
The returned structure can be passed to bodeplot to customize the rendering. The honored fields are:
PhaseUnits: 'deg' (default) or 'rad'.
Grid: 'off' (default) or 'on'.
Additional fields (FreqUnits, MagUnits, Title, XLabel, YLabel) are provided with default values so that assignment does not error.
opt = bodeoptions();
opt.PhaseUnits = 'rad';
opt.Grid = 'on'
| Version | Description |
|---|---|
| 1.0.0 | initial version |