save data as mat file

2 vues (au cours des 30 derniers jours)
Rica
Rica le 4 Fév 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

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Fév 2013
d = [a; b; c];

Plus de réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by