desperate for getting an algorithm to process data

this is a part of my data. i want to make an algorithm.
  1. if second row's values are same,and if first row's values difference is 1, get the column which has highest 3rd row's values
  2. second row's value is 1, it has to get second column,
  3. second row's value is 2, it has to get 3rd and 5th column
  4. second row's value is 3, it has to get 8th column
  5. second row's value is 4, it has to get 10th column
  6. second row's value is 5, it has to get 11th,12th,13th column
like this
help me please~~TT

3 个评论

What have you done? What is your input (example)? What is your expected output?
oops i missed data. here is it
Show us the code you have written.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by