Text-only
Table of Contents (
frame
/
no frame
)
(5) Multidimensional Arrays
Multidimensional Arrays
Matlab Multidimensional Arrays:
arrays with more than 2 subscripts
Examples:
3D physical data
sequence of matrices
samples of a time-dependent 2D or 3D data
To make multidimensional array:
>> a = [2 4 6; 7 8 9; 1 2 3]
>> a(:,:,2)= [10 11 12; 0 1 2; 4 5 6]
When you add elements and expand the size
Unspecified elements are set to zero
>> a(:,:,4) = [ 1 1 1; 2 2 2; 3 3 3]
Multidimensional_Arrays.src last modified Oct 17, 2007
Introduction
Table of Contents
(
frame
/
no frame
)
Printable
(single file)
© Dartmouth College