save data as mat file

1 回表示 (過去 30 日間)
Rica
Rica 2013 年 2 月 4 日
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

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 4 日
d = [a; b; c];

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by