| Filter Design Toolbox | ![]() |
Determine and return whether a quantizer has quantization mode equal to none
Syntax
Description
res = isnone(q)
returns res = 1 (logical true) when qauntizer q has mode equal to none. Recall that quantizers may have one of five modes--none, double, fixed, float, or single. When you develop programs that use one or more quantizers, you may find this function useful for determining the mode of a quantizer within your program, and responding to the returned value.
Examples
Create and test two quantizers--one operating in double mode and the other with mode set to none:
q = quantizer('double'); % Create a double data type quantizer res = isnone(q) res = 0 q = quantizer('none'); % Create a quantizer with mode = none res = isnone(q) res = 1
See Also
| isfloat | islinphase | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |