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 commentaires

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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by