n-Mode Tensor - Matrix Product
Version 1.0.0.0 (1.75 KB) by
Fabian Schneiter
Calculates the n-mode product between a tensor and a matrix.
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 LinuxCategories
- MATLAB > Mathematics > Sparse Matrices >
Find more on Sparse Matrices in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
