Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这样的矩阵:
小号 =
2.2100 16.0100 0.0100 9.8100 9.4100 0.0100
现在我想知道每一列中最小值的行号。我正在寻找的向量应该是这样的:
D =
2 3
感谢您的帮助。
[val, ind] = min (S)
你将拥有价值:
val = 0.010000 0.010000 ind = 2 3