Filter Design Toolbox    
isfloat

Test and return whether a quantizer is floating point

Syntax

Description

res = isfloat(q) returns res = 1 (logical true) when q is a floating-point quantizer. When q is not floating point, isfloat returns res = 0. When you develop programs that use one or more quantizers, you may find this function useful to determine the mode of a quantizer within your program, and respond to the returned value.

Examples

Demonstrate the results of testing both fixed-point and nonfixed-point quantizers:

See Also

isfixed, quantizer


  isfixed isnone 

Learn more about the latest releases of MathWorks products:

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