Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

i have dbhole.mat file. This contains 1x1 with 334 fields having name starts with 'd' then 'numeric' then 'h'then 'numeric. each field contains data of [2x n], n is not same for all. i have to sort out d followed by different numeric and h2 fixed.

1 visualizzazione (ultimi 30 giorni)
s = load('dbhole.mat'); selectedvariables = sprintfc('d%dh2', 1:14); [~, location] = ismember(selectedvariables, fieldnames(s)); c = struct2cell(s); c = c(location); now i have to merge all the datas into a single cell.example- From above code c contains [2x189], [2x201] and so on (in column), but i want the data contain in [2X201]cell and rest should be merge in [2x189] cell. how to do this, please help.

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by