3d matrices

2 views (last 30 days)
Ana
Ana on 25 Jan 2012
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.

Answers (1)

Walter Roberson
Walter Roberson on 25 Jan 2012

Community Treasure Hunt

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

Start Hunting!