I have matrix A, B, C, D
Afficher commentaires plus anciens

4 commentaires
Rik
le 18 Août 2022
Do you expect people to copy your data from a picture? You're asking people for help. You should make it as easy as you can for people to help you.
What determines that (1,15) should be selected from B and (1,9) from C? And how does that mean you need (15,1,9) from D? If you find (1,15) in B and (2,9) in C, should you select (15,1,9) or (15,2,9) from D?
jane
le 18 Août 2022
Rik
le 18 Août 2022
Unfortunately for you, that explanation doesn't help me.
I suspect the find function does everything you need. To give you a complete answer I need to understand better how exactly you want to process these arrays.
Rik
le 19 Août 2022
Did you try to write any code? Did you read the two threads I linked in my initial comment?
Réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!