LTPDA Toolbox™ | contents | ![]() ![]() |
BODE makes a bode plot from the given inputs to outputs. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: BODE makes a bode plot from the given inputs to outputs. CALL: mat_out = bode(sys, pl) INPUTS: 'sys' - ssm object 'pl' - plist of options OUTPUTS: 'mat_out' - matrix of output AOs containing the requested responses. Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | ssm |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
reorganize | |||
INPUTS | 'ALL' | none | A cell-array of input ports and blocks. |
OUTPUTS | 'ALL' | none | A cell-array of output ports and blocks. |
STATES | 'NONE' | none | A cell-array of states ports and blocks. |
bode | |||
F | [] | none | A frequency vector (replaces f1, f2 and nf). |
F2 | [] | none | The maximum frequency. Default is Nyquist or 1Hz. |
F1 | [] | none | The minimum frequency. Default is f2*1e-5. |
NF | 1000 | none | The number of frequency bins. |
SCALE | 'log' |
|
Distribute frequencies on a 'log' or 'lin' scale. |
REORGANIZE | 1 |
|
When set to 0, this means the ssm does not need be modified to match the requested i/o. Faster but dangerous! |
NUMERIC OUTPUT | 0 |
|
When set to ture, the output of bode will be purely numeric - no analysis objects. |
Example |
---|
plist('INPUTS', 'ALL', 'OUTPUTS', 'ALL', 'STATES', 'NONE', 'F', [[]], 'F2', [[]], 'F1', [[]], 'NF', [1000], 'SCALE', 'log', 'REORGANIZE', [true], 'NUMERIC OUTPUT', [false]) |
Some information of the method ssm/bode are listed below: | |
---|---|
Class name | ssm |
Method name | bode |
Category | Signal Processing |
Package name | ltpda |
VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args | 1 |
Max input args | -1 |
Min output args | 1 |
Max output args | -1 |
Can be used as modifier | 1 |
Supported numeric types | {'double'} |
![]() |
Method: ssm/isequal | Method: ssm/bodecst | ![]() |
©LTP Team