Generating for loop for toeplitz for Q order analysis.
이전 댓글 표시
b = toeplitz(x,[x(1) zeros(1,Q)])\y;
I have a toeplitz matrix that I want to write a loop for Q=(1:150).
any ideas?
댓글 수: 1
Andrei Bobrov
2013년 2월 20일
편집: Andrei Bobrov
2013년 2월 20일
That such x, y.
답변 (1개)
Andrei Bobrov
2013년 2월 20일
편집: Andrei Bobrov
2013년 2월 20일
b{150} = toeplitz(x,[x(1) zeros(1,150)])\y; % THAT SUCH x, y
for jj = 1:150
b{jj} = b{end}(:,1:jj);
end
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!