Sigma notation - two variables. 'for' loop or symsum?
古いコメントを表示
Hello
I am trying to compute a sigma summation of a simple single column vector x, where:
N = length(x)
k = 0:N/4
i = 1:N-k
I need to solve for Axx(k):

I have tried to solve this using 'for' loops and symsum function, without success. Help is hugely appreciated, thanks.
採用された回答
その他の回答 (1 件)
Roger Stafford
2014 年 10 月 21 日
Axx = x.'*hankel(x,zeros(1,N/4+1));
2 件のコメント
Nate
2014 年 10 月 22 日
Roger Stafford
2014 年 10 月 22 日
That's probably because your value N is not a multiple of 4. Do this:
round(N/4)+1
instead.
カテゴリ
ヘルプ センター および File Exchange で Correlation and Convolution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!