Info

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

2d Minimum block return wrong idx and value

3 Ansichten (letzte 30 Tage)
Haijia Zhu
Haijia Zhu am 7 Jun. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by