Filter Design Toolbox    

Copying Filters to Inherit Properties

If you already have a quantized filter Hq with the property values set the way you want them, you can create a new quantized filter Hq2 with the same property values as Hq by typing

This function is convenient to use when you are changing a small number of properties on a set of filters.

For example, create a 16-bit precision filter Hq from an FIR reference filter with

Except for the filter coefficients provided by {b}, Hq inherits the default property values for a quantized filter.

Changing Filter Property Values After Construction

Now suppose you want to analyze the response of this same reference filter b when you:

You can do this by first copying Hq, and then changing only those properties you want to change.

For more information on setting filter properties, see Setting Property Values with the set Command and Direct Property Referencing to Set and Get Values.


  Constructing a Quantized Filter from a Reference Quantized Filter Properties