3d matrices

I have a 3D matrix (x,y,t), with: t=1:30 (30 time steps), x=100, y=100
I want to write each time step to a file, to have: file1.dat (100x100), file2.dat (100x100), ...., file.30dat
Can you help me?

1 Comment

Oleg Komarov
Oleg Komarov on 25 Jan 2012
Small remark, a matrix is a 2D array. Refer to N-dimensional arrays.

Sign in to comment.

Categories

Asked:

Ana
on 25 Jan 2012

Community Treasure Hunt

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

Start Hunting!