Overview
Comment:Include error in out args
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7337ff5fe99703454e60321ab7f645521784a4d22dac56f122be023b09b49d10
User & Date: gawthrop@users.sourceforge.net on 2003-06-09 10:49:23
Other Links: branch diff | manifest | tags
Context
2003-06-11
15:48:02
Copies (aliased) subsystems first.
Include switches in .ps file names.
check-in: c757df5037 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-06-09
10:49:23
Include error in out args check-in: 7337ff5fe9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-06-06
07:18:27
Include LQ PPP option
General tidy
check-in: 17b8040493 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/control/PPP/ppp_int_obs.m from [77b56df53a] to [24ed193861].

1
2
3
4
5
6
7
8
function [x_new,y_new] = ppp_int_obs (x,y,U,A,B,C,D,A_u,delta,L)

  ## usage: x_new = ppp_int_obs (x,y,U,A,B,C,D,A_u,delta,L)
  ##
  ## Intermittent observer for PPP
  ##
  ## x,y Current estimated state and measured output
  ## U PPP control weights
|







1
2
3
4
5
6
7
8
function [x_new,y_new,error] = ppp_int_obs (x,y,U,A,B,C,D,A_u,delta,L)

  ## usage: x_new = ppp_int_obs (x,y,U,A,B,C,D,A_u,delta,L)
  ##
  ## Intermittent observer for PPP
  ##
  ## x,y Current estimated state and measured output
  ## U PPP control weights
18
19
20
21
22
23
24

25
26
27
    L = zeros(n_x,n_y);
  endif
  
  ## Predictor
  [y_p,us,x_p] = ppp_ystar (A,B,C,D,x,A_u,U,delta);

  ## Corrector

  x_new = x_p - L*(y_p-y);
  y_new = C*x_new;
endfunction







>
|


18
19
20
21
22
23
24
25
26
27
28
    L = zeros(n_x,n_y);
  endif
  
  ## Predictor
  [y_p,us,x_p] = ppp_ystar (A,B,C,D,x,A_u,U,delta);

  ## Corrector
  error = (y_p-y);
  x_new = x_p - L*error;
  y_new = C*x_new;
endfunction


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]