I've found a very good example of customfloat, but in my computer it can't find CustomFloat function?
Does anyone know the reason(in the web it works;;)
v = pi;
word_length = 16;
mantissa_length = 4;
x = CustomFloat(v, word_length, mantissa_length)
x =
3.1250 Data Type: Floating-point: Custom-precision WordLength: 16 MantissaLength: 4 ExponentLength: 11 ExponentBias: 1023

답변 (1개)

Chunru
Chunru 2022년 9월 2일
편집: Chunru 2022년 9월 2일

1 개 추천

You need the Fixed-Point Designer toolbox, which is a separate product you may not have in your system.
In the web, the toolbox is available.

댓글 수: 1

Won Geun Shin
Won Geun Shin 2022년 9월 2일
Thanks also I think my version of matlab is old

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2022년 9월 2일

댓글:

2022년 9월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by