| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model-Based Calibration |
| Contents | Index |
| Learn more about Model-Based Calibration |
D = ModifyFilter(D, Index, expr)
This is a method of mbcmodel.data.
You call this method to modify the expression that defines existing filters.
D is a data object.
Index is the input index to indicate which of the available filters you wish to modify. Use the property Filters to find the index for each filter.
expr is the input string holding the expression that defines the filter, as for AddFilter.
ModifyFilter(D, 3, 'AFR < AFR_CALC + 20');
The effect of this filter is to modify filter number 3 to keep all records where AFR < AFR_CALC + 20.
ModifyFilter(D, 2, 'MyNewFilterFunction(AFR, RPM, TQ, SPK)');
This modifies filter number 2 to apply the function MyNewFilterFunction.
AddFilter, RemoveFilter, Filters
![]() | Modified | ModifyTestFilter | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |