code for "elements of array will find another max number from another two column matrix"

X=[1,2,3,4,5,6,7,8,9,10,11,12,13,4,15,16,17,18,19,20]
Y=[c11 c21,c12 c22,c13 c23,c14 c24]
i need the code for the followings senario
1.elements of array x will find max of Y-matrix column2 and after select max c2 ,no other element will find him.
2.output will be in a 3 column matrix where c1=element of x-array,c2 &c3=y matrix selected c2 and its corresponding c1.

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 25 de Jun. de 2020

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by