답변 (1개)

Voss
Voss 2023년 2월 20일

0 개 추천

matrix = magic(4)
matrix = 4×4
16 2 3 13 5 11 10 8 9 7 6 12 4 14 15 1
value = 10
value = 10
[row,column] = find(matrix == value)
row = 2
column = 3

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2023년 2월 20일

답변:

2023년 2월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by