Find corresponding values in different arrays
Ältere Kommentare anzeigen
I have T-array, double, 4x1000.
Example of how it looks.

Also I have a cell array Ready, 4x500.
Example, how it looks.

Each cell is a double array, similar structure.
Example of Ready{1,2}.
My goal is to find correspondence values in both T and Ready.
Data in T(1,:) corresponds to the 1st row in Ready, T(2,:) corresponds to 2nd row of Ready, etc.
The 5th row in every cell (6,7,8,9 in the example) corresponds to the column # in T.
How do I fill out the sixth row in Ready with corresponding numbers from T? For example, Ready {1,2} means that we need to look at the values in the 1st row in T. And corresponding values in T will be 10, 12, 14, 16, which I want to write dowin in sixth row in Ready.
Could you please help me with this?
4 Kommentare
Image Analyst
am 29 Sep. 2021
Are all the values in T integers? Can you attach T and Ready in a .mat file so people can try things?
CheshireM
am 30 Sep. 2021
CheshireM
am 30 Sep. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Subplots 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!