fselect - Frequencies from frequency response data
Syntax
idfm = fselect(idf,index)
idfm = fselect(idf,Fmin,Fmax)
Description
idf is any idfrd object. index is
a row vector of frequency indices, so that idfm is
the idfrd object that contains the response at
frequencies idf.Frequency(Index).
If Fmin and Fmax are specified, idfm contains
responses at frequencies between Fmin and Fmax.
Note that the operation is the same as dat(index) for
an iddata object.
Examples
Select every fifth frequency:
idfm = fselect(idf,5:5:100)
Select the response in the third quadrant:
ph = angle(squeeze(idf.response));
idfm = fselect(idf,find(ph>-pi & ph <-pi/2))
See Also
 | fpe | | get |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit