How can I unfold a tensor?
이전 댓글 표시
In the algorithm of High order SVD, A is a tensor, how to unfold it? for examplr,A(1),A(2),A(3). Thank you so much .
답변 (2개)
function [X] = Unfold( T, dim, i )
X = reshape(shiftdim(T,i-1), dim(i), []);
the cyclist
2013년 8월 27일
편집: the cyclist
2013년 8월 27일
I am not sure I understand, but I think you want to do
A(:)
or use the reshape() command.
카테고리
도움말 센터 및 File Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!