In MATLAB, I need to generate a tensor X of size e.g. 13x10x80 with ranks (4,3,15), i.e., the first, second and third foldings have ranks 4, 3, and 15, respectively.
How can I do this in MATLAB?
In MATLAB, I need to generate a tensor X of size e.g. 13x10x80 with ranks (4,3,15), i.e., the first, second and third foldings have ranks 4, 3, and 15, respectively.
How can I do this in MATLAB?
Copyright © 2021 Jogjafile Inc.
As 'kmario23' mentioned you can use Matalb tensor toolbox to do this. I think this is what you are looking for: