如何知道提取出的元素是矩阵的第几行第几列的元素。

随机提取矩阵中的某个元素后,如何知道提取出的元素是矩阵的第几行第几列的元素

 采纳的回答

hmarda
hmarda 2023-5-17

0 个投票

仅供参考
clear
clc
A = rands(5,5)
b = A(8)
[r,v] = find(b==A)

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!