creating .mat files with variables

hello all how can i create as .mat file with 4 variables in it of diff sizes like a=1x1 mtx,b=100x128mtx,c=116x128 mtx and d=1x128 mtx.

 採用された回答

TAB
TAB 2013 年 1 月 25 日

0 投票

a=10;
b=rand(100,128);
c=rand(116,128);
d=rand(1,128);
save('myfile.mat','a','b','c','d');

1 件のコメント

PK
PK 2013 年 1 月 26 日
Is it possible to create one variable with the specific ranges like b=100x128 matrix in the range of [0.001 to 0.005]

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

タグ

質問済み:

PK
2013 年 1 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by