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

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

 Respuesta aceptada

hmarda
hmarda el 17 de Mayo de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Mayo de 2023

Respondida:

el 17 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!