Can someone suggest how to efficiently model a non-linear quantizer in MATLAB code?

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

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!

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 8월 8일
histc() perhaps.
Anything beyond that would probably depend upon the characteristics of the breakpoints, and would probably start to depend upon MATLAB implementation characteristics.

카테고리

태그

질문:

2012년 8월 7일

댓글:

2019년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by