Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Changing Arithmetic to fixed point for a multistage FIR design

조회 수: 1 (최근 30일)
Pedro Gelabert
Pedro Gelabert 2018년 2월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by