save to. mat after reshape to [50 x1x12]

1 visualizzazione (ultimi 30 giorni)
I have file with 50 rows and 12 columns [50 x 12] , I converted this file to [50 x 1 x 12] using
result = reshape(data,[50,1,12])
where 12 it is like channels in an image,
How can I save this result into a .mat file to then load it into a filedatastore?

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 19 Gen 2021
save('FileName','Varname')

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by