MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何使所有列小于阈值? (https://www.labfans.com/bbs/showthread.php?t=24056)

poster 2019-12-10 20:48

如何使所有列小于阈值?
 
我有一个带有任意值的行向量。我对感兴趣

<ul>包含值> thresh = 9; >> x = randi(20, [1 10]) x = 17 19 3 19 13 2 6 11 20 20 >> xBelowInd = find(x > num = length(xBelowInd) num = 3 >> x(xBelowInd) ans = 3 2 6

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


所有时间均为北京时间。现在的时间是 23:14

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