desperate for getting an algorithm to process data

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

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!