Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

2d Minimum block return wrong idx and value

3 visualizzazioni (ultimi 30 giorni)
Haijia Zhu
Haijia Zhu il 7 Giu 2018
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by