how to create the .mat file

sir,
i have 350x2 inputs and 350x1 outputs how to create data.mat which includes both the datas in the data.mat

回答 (3 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 18 日
編集済み: Azzi Abdelmalek 2013 年 5 月 18 日

0 投票

save data a b %a and b are your arrays, will be saved in the file data.mat
yagnesh
yagnesh 2013 年 5 月 18 日

0 投票

USE SAVE COMMAND suppose a is your input and b is ur output then simply use
save a.mat
save b.mat
Karansingh Patil
Karansingh Patil 2018 年 2 月 16 日

0 投票

save('Test.mat','varname') ; the varname can be an array, variable,etc

カテゴリ

質問済み:

2013 年 5 月 18 日

編集済み:

2018 年 2 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by