Main Content

wordlength

Word length of quantizer object

Description

example

wl = wordlength(q) returns the word length in bits of quantizer object q.

Examples

collapse all

q = quantizer([16 15]);
wordlength(q)
ans = 16

The word length is the first element of format(q).

format(q)
ans = 1×2

    16    15

Input Arguments

collapse all

quantizer object to find word length of.

Version History

Introduced before R2006a