n-Mode Tensor - Matrix Product

Calculates the n-mode product between a tensor and a matrix.

You are now following this Submission

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 .

Categories

Find more on Sparse Matrices in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0