Plot frequency functions in Bode diagram form.
Syntax
bodeplot(g)
bodeplot([g1 g2 ... gn])
bodeplot(g,sd,C,mode)
Description
g contains the frequency data to be graphed. See freqfunc for the format. The frequency functions do not have to be specified at the same frequencies, but have to have the same number of values.
If the frequency functions are generated by th2ff or spa, and sd is specified as a number larger than zero, confidence intervals for the functions are added to the graph as dash-dotted curves (of the same color as the estimate curve). They indicate the confidence regions corresponding to sd standard deviations.
On amplitude plots, the logarithm of the absolute value, plus and minus the standard deviation you indicate, is graphed. The latter value can sometimes be negative, which results in an error message from the plotting routine. The resulting plot is still meaningful, however.
By default, amplitude and phase plots are shown simultaneously for each input (noise spectrum) present in g. For spectra, phase plots are omitted. Pressing the Return key advances the plot from one input to the next.
To show amplitude plots only, use C = 'A'. For phase plots only, use
C = 'P'. The default is C = 'B' for both plots.
To obtain all plots on the same diagram use mode = 'same'.
Note that if g contains information about several outputs, these plots are always given separately.
See Also
etfe, ffplot, freqfunc, getff, nyqplot, spa, th2ff
[ Previous | Help Desk | Next ]