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

6 次查看(过去 30 天)
faheem
faheem 2023-5-17
回答: hmarda 2023-5-17
随机提取矩阵中的某个元素后,如何知道提取出的元素是矩阵的第几行第几列的元素

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!