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
0 个评论
采纳的回答
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)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!