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

Réponses (3)

Azzi Abdelmalek
Azzi Abdelmalek le 18 Mai 2013
Modifié(e) : Azzi Abdelmalek le 18 Mai 2013

0 votes

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

0 votes

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 le 16 Fév 2018

0 votes

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

Question posée :

le 18 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by