Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Dave Lee
Dave Lee le 20 Fév 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by