How to display the Index of a matrix to other corresponding matrices by considering relations

1 次查看(过去 30 天)
Please can you help me solve this matrix?
A=[12 8 6;10 11 3;25 9 20]
B=[8 9 16;18 8 5;10 13 7]
C=[4 3 30;13 80 21;6 11 17]
I want to find the numbers (with their index) that are greater than or equal to 10 in matrix A (A>=10) and at the same time, the matrices of B and C should display their corresponding values at which A>=10
Thank you

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-2-23
编辑:KALYAN ACHARJYA 2021-2-23
No need to get the indices, you can directly map as per A>=10 condition in B and C
A(A>=10)
B(A>=10)
C(A>=10)
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by