I have matrix A, B, C, D
Ältere Kommentare anzeigen

4 Kommentare
Rik
am 18 Aug. 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
am 18 Aug. 2022
Rik
am 18 Aug. 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
am 19 Aug. 2022
Did you try to write any code? Did you read the two threads I linked in my initial comment?
Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!