MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何在Matlab中获取数组中最小元素的索引? (https://www.labfans.com/bbs/showthread.php?t=23914)

poster 2019-12-10 20:48

如何在Matlab中获取数组中最小元素的索引?
 
如何在Matlab中获取数组中最小元素的索引?



[B]回答:[/B]

[C,I] = min(...)查找A的最小值的索引,并将其返回到输出矢量I 。如果存在几个相同的最小值,则返回找到的第一个最小值的索引。



[url=https://stackoverflow.com/questions/3730244]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 08:33

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.