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 件のコメント

David Hill
David Hill 2020 年 4 月 5 日
What have you done? What is your input (example)? What is your expected output?
Yeon Hwee Bae
Yeon Hwee Bae 2020 年 4 月 5 日
oops i missed data. here is it
David Hill
David Hill 2020 年 4 月 5 日
Show us the code you have written.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2020 年 4 月 5 日

コメント済み:

2020 年 4 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by