Generating for loop for toeplitz for Q order analysis.
3 views (last 30 days)
Show older comments
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 Comment
Answers (1)
Andrei Bobrov
on 20 Feb 2013
Edited: Andrei Bobrov
on 20 Feb 2013
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
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!