How to compute a Hankel matrix for N-dimension ?

1 回表示 (過去 30 日間)
Yapo OBOUE
Yapo OBOUE 2019 年 7 月 14 日
コメント済み: Yapo OBOUE 2019 年 7 月 15 日
Hello everyone, I have a 4-dimension matrix A configured as follow :
[w x y z]=size(A);
where w=10; x=10; y=10 and z=10. Is there any matlab code/function to compute the hankel matrix of this 4-dimension matrix A ? Thanks for your help.

採用された回答

Bruno Luong
Bruno Luong 2019 年 7 月 14 日
編集済み: Bruno Luong 2019 年 7 月 14 日
Not sure what is the Hankel in 4-D but by extension in 2D it should be something like this
w=5;
x=4;
y=3;
z=2;
b = rand(1,w+x+y+z);
[W,X,Y,Z] = ndgrid(1:w,1:x,1:y,1:z);
A = b(W+X+Y+Z)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by