Info

This question is closed. Reopen it to edit or answer.

Using dsp.CumulativeProduct inside a function

1 view (last 30 days)
Varun Baskar
Varun Baskar on 3 Jun 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Steven Lord
Steven Lord on 3 Jun 2020
Is there a reason you need to call dsp.CumulativeProduct specifically rather than calling the cumprod function included in MATLAB?
  1 Comment
Varun Baskar
Varun Baskar on 3 Jun 2020
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.

Community Treasure Hunt

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

Start Hunting!