| Contents | Index |
sysout = fdel(sys, freq)
sysout = fdel(sys, freq) removes from the frd model sys the data nearest to the frequency values specified in the vector freq.
Use fdel to remove unwanted data (for example, outlier points) at specified frequencies.
Use fdel to remove data at intersecting frequencies from frd models before merging them with fcat. fcat produces an error when you attempt to merge frd models that have intersecting frequency data.
To remove data from an frd model within a range of frequencies, use fselect.
sys |
frd model. |
freq |
Vector of frequency values. |
sysout |
frd model containing the data remaining in sys after removing the frequency points closest to the entries of freq. |
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.

Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |