Filter Design Toolbox    
copyobj

Make an independent copy of a quantizer, quantized filter, or quantized FFT

Syntax

Description

obj1 = copyobj(obj) makes a copy of obj and returns it in obj1. obj can be a quantizer, quantized filter, or quantized FFT.

[obj1,obj2,...] = copyobj(obja,objb,...) copies obja into obj1, objb into obj2, and so on. All objects can be quantizers, quantized filters, or quantized FFTs.

Using copyobj to copy a quantizer, quantized filter, or quantized FFT is not the same as using the command syntax object1 = object to copy a quantized object. Quantized filters, quantized FFTs, and quantizers have memory (their read-only properties). When you use copyobj, the resulting copy is independent of the original item--it does not share the original object's memory, such as the values of the properties min, max, noverflows, or noperations. Using object1 = object creates a new object that is an alias for the original and shares the original object's memory, and thus its property values.

Examples

You can combine quantizers and quantized filters in the same copyobj command. You cannot include quantized FFTs with other quantized objects in one copyobj command.

See Also
qfilt, qfft, quantizer, get, set


  convert denormalmax 

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS