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)
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Is there a function floating To fixed point conversion in matlab and how it works ?
0 comentarios
Respuestas (1)
Andy Bartlett
el 2 de Ag. de 2022
Editada: Andy Bartlett
el 2 de Ag. de 2022
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 comentarios
Ver también
Categorías
Más información sobre Create Fixed-Point Objects in MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!