How quantization is impletemented in matlab ( by quantization i mean either the conversion from floating point format to fixed point or the conversion from fixedpoint q-format to an other fixed point format)
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there a function floating To fixed point conversion in matlab and how it works ?
댓글 수: 0
답변 (1개)
Andy Bartlett
2022년 8월 2일
편집: Andy Bartlett
2022년 8월 2일
will make it easy to handle fixed-point types.
Here is a MATLAB example of converting to fixed-point and then back to double precision floating.
format long g
vOriginal = pi
vFi = fi(vOriginal,1,16,8)
vRoundTrip = double(vFi)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Create Fixed-Point Objects in MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!