I wanted to combine these cells into a table.

1 Ansicht (letzte 30 Tage)
CalebJones
CalebJones am 25 Okt. 2019
Kommentiert: CalebJones am 25 Okt. 2019
I wanted to perform horzcat to this.

Akzeptierte Antwort

galaxy
galaxy am 25 Okt. 2019
Do it as following:
load('matlab.mat');
out = cell2mat(new_raw(1,1));
for i=2:length(new_raw)
out = horzcat(out, cell2mat(new_raw(1,i)));
end

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by