Skip to Main Content Skip to Search
Product Documentation

fdel - Delete specified data from frequency response data (FRD) models

Syntax

sysout = fdel(sys, freq)

Description

sysout = fdel(sys, freq) removes from the frd model sys the data nearest to the frequency values specified in the vector freq.

Tips

Input Arguments

sys

frd model.

freq

Vector of frequency values.

Output Arguments

sysout

frd model containing the data remaining in sys after removing the frequency points closest to the entries of freq.

Examples

Remove selected data from a frd model. In this example, first obtain an frd model:

sys = frd(tf([1],[1 1]), logspace(0,1,10))
 
  Frequency(rad/s)        Response    
  ----------------        --------    
        1.0000        0.5000 - 0.5000i
        1.2915        0.3748 - 0.4841i
        1.6681        0.2644 - 0.4410i
        2.1544        0.1773 - 0.3819i
        2.7826        0.1144 - 0.3183i
        3.5938        0.0719 - 0.2583i
        4.6416        0.0444 - 0.2059i
        5.9948        0.0271 - 0.1623i
        7.7426        0.0164 - 0.1270i
       10.0000        0.0099 - 0.0990i
 
Continuous-time frequency response.

The following commands remove the data nearest 2, 3.5, and 6 rad/s from sys.

freq = [2, 3.5, 6];
sysout = fdel(sys, freq)
 
  Frequency(rad/s)        Response    
  ----------------        --------    
        1.0000        0.5000 - 0.5000i
        1.2915        0.3748 - 0.4841i
        1.6681        0.2644 - 0.4410i
        2.7826        0.1144 - 0.3183i
        4.6416        0.0444 - 0.2059i
        7.7426        0.0164 - 0.1270i
       10.0000        0.0099 - 0.0990i
 
Continuous-time frequency response.

You do not have to specify the exact frequency of the data to remove. fdel removes the data nearest to the specified frequencies.

See Also

fcat | frd | fselect

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS