| Programming and Data Types | ![]() |
Accessing Multidimensional Array Properties
You can use the following MATLAB functions to get information about multidimensional arrays you have created.
| Information |
Function |
Example |
| Array size |
|
size(C) ans = 2 2 1 2 rows columns dim3 dim4 |
| Array dimensions |
|
ndims(C) ans = 4 |
| Array storage and format |
|
|
| Creating Multidimensional Arrays | Indexing | ![]() |