Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Changing Arithmetic to fixed point for a multistage FIR design
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to observe the fixed point effects of a multistage decimation. However, the system object does not seem to change arithmetic to fixed point. For example:
fdDecim = fdesign.decimator(M,'lowpass', Fpass, Fstop, Apass, Astop);
msDecim = design( fdDecim, 'multistage', 'Usehalfbands', true, 'SystemObject', true);
msDecim.Stage1.CoefficientsDataType = 'Custom';
msDecim.Stage1.ProductDataType = 'Custom';
msDecim.Stage1.AccumulatorDataType = 'Custom';
msDecim.Stage2.CoefficientsDataType = 'Custom';
msDecim.Stage2.ProductDataType = 'Custom';
msDecim.Stage2.AccumulatorDataType = 'Custom';
msDecim.Stage1.CustomCoefficientsDataType = numerictype([],32,31);
msDecim.Stage1.CustomAccumulatorDataType = numerictype([],32, 31);
msDecim.Stage1.CustomProductDataType = numerictype([],32, 31);
msDecim.Stage2.CustomCoefficientsDataType = numerictype([],32,31);
msDecim.Stage2.CustomAccumulatorDataType = numerictype([],32, 31);
msDecim.Stage2.CustomProductDataType = numerictype([],32, 31);
But info(msDecim) shows Arithmetic : double
What else do I need to set to convert this object to a fixed point implementation?
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!