Sandia National Laboratories

MATLAB Tensor Toolbox Version 2.2 (released Jan. 10, 2007)

Tensors (also known as multidimensional arrays or N-way arrays) are used in a variety of applications ranging from chemometrics to psychometrics. The Tensor Toolbox provides the following classes for manipulating dense, sparse, and structured tensors using MATLAB's object-oriented features:

  • tensor - A (dense) multidimensional array (extends MATLAB's current capabilities).
  • sptensor - A sparse multidimensional array.
  • tenmat - Store a tensor as a matrix, with extra information so that it can be converted back into a tensor.
  • sptenmat - Store a sptensor as sparse matrix in coordinate format, with extra information so that it can be converted back into a sptensor.
  • ttensor - Store a tensor decomposed as a Tucker operator (see below).
  • ktensor - Store a tensor decomposed as a Kruskal operator (see below).

For more details about what tensors are, see the Glossary.

What's New in Version 2.2?

Version 2.2 adds some new functions for tensor and sptensor and fixes bugs in the tensor and sptensor classes. To see a complete list of changes, view the RELEASE_NOTES.txt file.


To obtain a free license for our software, visit the Tensor Toolbox License and Registration page. Note: This code requires MATLAB2006a (version 7.2) or later.

Mailing List

Join the Tensor Toolbox Mailing List to get important information on new releases and more.

How to Cite

Cite the following references for the MATLAB Tensor Toolbox Version 2.2:

Click here to see more Tensor Toolbox papers, including user contributions.

Questions or Comments

Links to Previous Versions

Tensor objects in MATLAB — The tensor toolbox allows for the manipulation of multiway arrays.

Tamara Kolda

Brett Bader

Related Links
The N-way toolbox for MATLAB

2004 Tensor Decomposition Workshop in Palo Alto

2005 Tensor Decomposition Workshop in Marseille

TRICAP2006 in Chania, Greece