Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

DSP System Toolbox Minimum block with external inputs for minimization searching range

3 Ansichten (letzte 30 Tage)
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

Antworten (0)

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by