フィルターのクリア

Split array into multiple columns based on another array

3 ビュー (過去 30 日間)
Chi Pham
Chi Pham 2019 年 9 月 11 日
編集済み: Matt J 2019 年 9 月 11 日
Hi, I have 2 double arrays, 1 array (DHB_combine)is values and the other is index (index_combine). I want to split DHB_combine into multiple columns based on the index.

採用された回答

Matt J
Matt J 2019 年 9 月 11 日
編集済み: Matt J 2019 年 9 月 11 日
result = splitapply(@(x) {x}, DHB_combine,index_combine);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by