save data as mat file

8 Ansichten (letzte 30 Tage)
Rica
Rica am 4 Feb. 2013
Hi!
how could i svae many data, which have the same size in one mat file:
% for exemple: a=[1 2 3];
b=[5 4 6];
c=[2 5 8];
how could i save a b c as :d=[1 2 3;5 4 6; 2 5 8].thank you

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Feb. 2013
d = [a; b; c];

Weitere Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox Supported Hardware 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