False Output from find-function?
显示 更早的评论
Heyho
I'm looking for maximum values of a table and am using
[rows, columns] = find(A==max(A));
to do so in the attached matrix.
It gets me this:
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
19 17
17 18
18 18
19 19
20 20
The matrix is 20x20 and the output has 21 values. :S
Also in my opinion the line...
19 17
...isn't true, cause I can't see a maximum there? This shouldn't be there at first place, should it?
Before and after this everything looks fine to me.
Why is this and how can I prevent that from happening?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!