Can someone suggest how to efficiently model a non-linear quantizer in MATLAB code?
Mostrar comentarios más antiguos
A linear quantizer can be efficiently modeled with the MATLAB round function. But a non-linear quantizer has irregular transitions and therefore cannot be modeled with the round function.
[Merged information from duplicate question]
QUANTIZ() is a search based quantizer and therefore has slow performance. Is there another MATLAB function or modeling technique known to the MATLAB community that has faster performance?
When I model RF systems and stream large quantities of input sample data, overall system performance is slow when quantizing with quantiz() . I faster quantizer function would increase productivity.
Thanks.
1 comentario
Raj Bhattacharjea
el 18 de Jun. de 2019
It never occured to me to use round before reading this post. I just wanted to say thank you for this idea to use "round". For uniform quantization, it is so much faster than quantiz!
Respuestas (1)
Walter Roberson
el 8 de Ag. de 2012
0 votos
histc() perhaps.
Anything beyond that would probably depend upon the characteristics of the breakpoints, and would probably start to depend upon MATLAB implementation characteristics.
Categorías
Más información sobre Quantizers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!