save to. mat after reshape to [50 x1x12]

1 view (last 30 days)
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?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 19 Jan 2021
save('FileName','Varname')

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!