Q15 to decimal converter

Silmple function that converts an value from Q15 to decimal.

Ahora está siguiendo esta publicación

Converts any Q15 value (hexadecimal or binary) to decimal integer.

y = q152dec(x , form)

Input arguments of function:
x - its hexadecimal or binary representation stored in a MATLAB string

form - dependent on representation of input argument (hexadecimal or binary) take 'hex' or 'bin'

Valu of function:
y - decimal integer

EXAMPLE:
>> q152dec('C000','hex')

ans =

-0.5000

Citar como

Szymon Leja (2026). Q15 to decimal converter (https://es.mathworks.com/matlabcentral/fileexchange/18413-q15-to-decimal-converter), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0