If you’re getting an error that reads “multidimensional arrays must have array expressions with matching dimensions” it’s probably because you’re trying to create a multi-dimensional array where the inner arrays at the same level have different dimensions.
Multidimensional arrays must be rectangular. To fix this issue, make sure all arrays at the same level have the same dimensions.
Continue reading