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

Antworten (3)

Azzi Abdelmalek
Azzi Abdelmalek am 18 Mai 2013
Bearbeitet: Azzi Abdelmalek am 18 Mai 2013

0 Stimmen

save data a b %a and b are your arrays, will be saved in the file data.mat
yagnesh
yagnesh am 18 Mai 2013

0 Stimmen

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 am 16 Feb. 2018

0 Stimmen

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

Gefragt:

am 18 Mai 2013

Bearbeitet:

am 16 Feb. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by