n-Mode Tensor - Matrix Product

Calculates the n-mode product between a tensor and a matrix.
1.3K Downloads
Updated 26 May 2009

View License

according to the definition of De Lathauwer and as referenced by many papers.

B = A (x)_n U

((x)_n: is the multiplication operator, see screenshot!)

where:
A: tensor of R^( I_1 × I_2 × .. I_n × .. I_N )
U: matrix of R^( J × I_n)
B: output tensor of R^(I_1 × I_2 × .. J × .. I_N)
n: scalar within [1:N], specifying the mode

Syntax:
B = nmodeproduct(A, U, n)

Cite As

Fabian Schneiter (2026). n-Mode Tensor - Matrix Product (https://www.mathworks.com/matlabcentral/fileexchange/24268-n-mode-tensor-matrix-product), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Sparse Matrices in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0