Azzera filtri
Azzera filtri

Split array into multiple columns based on another array

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Matt J
Matt J il 11 Set 2019
Modificato: Matt J il 11 Set 2019
result = splitapply(@(x) {x}, DHB_combine,index_combine);

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by