登录论坛

查看完整版本 : 如何使所有列小于阈值?


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

更多&回答... (https://stackoverflow.com/questions/4026582)