>> Tensor Toolbox >> Working with Tensors >> Converting Between Tensors and Matrices
The Tensor Toolbox provides the following classes to support conversion of tensors to/from matrices:
Tensor Toolbox for MATLAB: www.tensortoolbox.org.