Borrar filtros
Borrar filtros

Why can't I use CustomFloat??

2 visualizaciones (últimos 30 días)
Won Geun Shin
Won Geun Shin el 2 de Sept. de 2022
Comentada: Won Geun Shin el 2 de Sept. de 2022
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

Respuestas (1)

Chunru
Chunru el 2 de Sept. de 2022
Editada: Chunru el 2 de Sept. de 2022
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 comentario
Won Geun Shin
Won Geun Shin el 2 de Sept. de 2022
Thanks also I think my version of matlab is old

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by