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

Respuestas (3)

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Mayo de 2013
Editada: Azzi Abdelmalek el 18 de Mayo de 2013

0 votos

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

0 votos

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

0 votos

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

Categorías

Preguntada:

el 18 de Mayo de 2013

Editada:

el 16 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by