Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!