Revision 567, 0.6 kB
(checked in by smidl, 15 years ago)
|
original files for #37
|
Line | |
---|
1 | function [ric,lric]= ricshift(Rici,lric,nychn,nPsi,npsi) |
---|
2 | % working arrays ric and lric are filled with Riccati matrix shifted to the next |
---|
3 | % time instant |
---|
4 | % ric : quadratic part of Riccati matrix |
---|
5 | % lric : linear part of Riccati matrix |
---|
6 | % Rici : quadratic part of Riccati matrix |
---|
7 | % nychn : number of predicted channels |
---|
8 | % nPsi : dimension of Riccati matrix |
---|
9 | % nPsi : dimension of regressor |
---|
10 | |
---|
11 | ric = [Rici(nychn+1:nPsi-1,nychn+1:nPsi-1) zeros(npsi-1,nychn)... |
---|
12 | Rici(nychn+1:nPsi-1,nPsi); zeros(nychn,nPsi)];% |
---|
13 | |
---|
14 | lric=[lric( nychn+1:nPsi-1) zeros(1,nychn)]; |
---|
15 | |
---|
16 | |
---|