root/library/utia_legacy/ticket_37/ricshift.m @ 1299

Revision 706, 0.6 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1function  [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 
Note: See TracBrowser for help on using the browser.