Well, I have 2 5×4 arrays of data of test scores of 2 years. I am not sure how to combine them together to get a 3-D array of the data. I know how to create a 3-D array of just one but not combining the two of them. Any help would be appreciated. The arrays are called year1 and year2, combine to create 3-D array for testdata. Would it just be as simple as testdata = {year1,year2} ??

# MATLAB: How to combine 2 two-dimensional arrays into 3-D array with two pages

array

###### Related Question

- Calculating and extracting data from three dimensional array
- Two-dimensional colormap
- Accessing elements of a 3-D cell array
- Two-dimensional Otsu’s method
- Combining two separate arrays into singular payoff matrix
- Combining elements in an array
- Read data from file to two-dimensional array
- Concatenate cell arrays element-wise

## Best Answer