desperate for getting an algorithm to process data
Show older comments

this is a part of my data. i want to make an algorithm.
- 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
- second row's value is 1, it has to get second column,
- second row's value is 2, it has to get 3rd and 5th column
- second row's value is 3, it has to get 8th column
- second row's value is 4, it has to get 10th column
- second row's value is 5, it has to get 11th,12th,13th column
like this
help me please~~TT
3 Comments
David Hill
on 5 Apr 2020
What have you done? What is your input (example)? What is your expected output?
Yeon Hwee Bae
on 5 Apr 2020
David Hill
on 5 Apr 2020
Show us the code you have written.
Answers (0)
Categories
Find more on Mathematics 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!