Motivation matlab has 3 distinct way you can store n-dimensional arrays (aka tensors, multidimensional arrays, or nd-array) in structures. (A) structure with an nd-array in each field (aka. struct of ...
% (they can just be indexes of the actual data for example).