Info

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

2d Minimum block return wrong idx and value

3 vues (au cours des 30 derniers jours)
Haijia Zhu
Haijia Zhu le 7 Juin 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi, I'm looking for the min value in a 160000*1 vector using 2d minimum block from computer vision toolbox. There are some nan element in this vector. However, I always receive NaN as a result even though there exists a min value.
I compare this result with Min block, and It does give me something.
This is my model setup, inport 1 receive a vector(16000*1) and the 2-d minimum find the min value and return the idx and value.
This is the result(scope on the right bottom). The ch1 receive the result from 2-d Minimum block and ch2 receive the result from min block.
I'm wondering if this is a bug or I did something stupid?
Thanks,
Alex

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by