save data as mat file

2 views (last 30 days)
Rica
Rica on 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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!