Quantisation

1 visualizzazione (ultimi 30 giorni)
fit institute
fit institute il 10 Mar 2011
hello, Is there a direct function in Matlab to quantize fixed point numbers to specified numbers of bits.....

Risposte (1)

Walter Roberson
Walter Roberson il 10 Mar 2011
If you are using the fixed point toolkit then use eps to get the relative quantization error.
If you are not using the fixed point toolkit, then you will have to undertake the calculation yourself.
Please note: when asking about fixed point numbers, it is best to say explicitly whether you are using the fixed point toolkit or not. Your earlier questions referenced DCT, which does not assume the existence of a fixed point toolkit (just of something that will do arithmetic with the properties required for DCT.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by