How can I change the mantissa size?

I have to do some calculation with different word size. One calculation with 7 bit mantissa and another with 10 bit mantissa How can I change the mantissa size for this calculation and to make proper floating point arithmetic?
The function : digits is not good for me or maybe I don't use it wright but the function limit the decimal accuracy, and what I need is to change the word size (mantissa size) which is binary
any suggestion? thanks!!!

1 Commento

Note that the mantissa is the fractional part of a logarithm. The significand is the part of a number containing the significant digits.

Accedi per commentare.

Risposte (1)

Stephen23
Stephen23 il 30 Ott 2014

0 voti

Maybe these will be helpful:
https://www.mathworks.fr/matlabcentral/newsreader/view_thread/251900

1 Commento

Vla
Vla il 30 Ott 2014
Modificato: Vla il 30 Ott 2014
Thanks but it is fixed point function I have to do my calculation with floating point arithmetic

Accedi per commentare.

Richiesto:

Vla
il 30 Ott 2014

Commentato:

il 30 Ott 2014

Community Treasure Hunt

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

Start Hunting!

Translated by