how to create the .mat file

2 views (last 30 days)
ajith
ajith on 18 May 2013
Edited: Walter Roberson on 16 Feb 2018
sir,
i have 350x2 inputs and 350x1 outputs how to create data.mat which includes both the datas in the data.mat

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 18 May 2013
Edited: Azzi Abdelmalek on 18 May 2013
save data a b %a and b are your arrays, will be saved in the file data.mat

yagnesh
yagnesh on 18 May 2013
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 on 16 Feb 2018
save('Test.mat','varname') ; the varname can be an array, variable,etc

Community Treasure Hunt

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

Start Hunting!