Using dsp.CumulativeProduct inside a function

I'm looking to use dsp.CumulativeProduct inside a matlab function.
I saw the syntax in the documentation part, but I don't know how to initialize it and use it inside a function. Could anyone help me with it?
Thanks and regards

답변 (1개)

Steven Lord
Steven Lord 2020년 6월 3일

0 개 추천

Is there a reason you need to call dsp.CumulativeProduct specifically rather than calling the cumprod function included in MATLAB?

댓글 수: 1

I require the function to use DSPs on the board rather than LUTs. I used the xlaccum function but it got translated as LUTs only.

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

질문:

2020년 6월 3일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by