Info
This question is closed. Reopen it to edit or answer.
DSP System Toolbox Minimum block with external inputs for minimization searching range
1 view (last 30 days)
Show older comments
Hi,
I am using this block https://www.mathworks.com/help/dsp/ref/minimum.html to calculate the index corresponding to the minimum value of a vector in real-time i.e. every time step, it calculates the index. This is going to be in embedded hardware. I'd like to ask if there is an option or some other block that I can search with a specific range that is an external input. Such as my vector size is 10, and I want to do minimization only from index 2 to 6 with 2 and 6 are two external inputs. An option I can see is set the elements for the range that I am not interested in to be the max value of the datatype. However, I think it is not fail-proof.
Thanks,
Dave
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!