How to display the Index of a matrix to other corresponding matrices by considering relations
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Abdullahi Abubakar
el 23 de Feb. de 2021
Comentada: Abdullahi Abubakar
el 23 de Feb. de 2021
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 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 23 de Feb. de 2021
Editada: KALYAN ACHARJYA
el 23 de Feb. de 2021
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!