## Diff of /inst/augw.m[80cc21] .. [eff17f]  Maximize  Restore

### Switch to unified view

a/inst/augw.m b/inst/augw.m
`...`
`...`
102
```## @seealso{h2syn, hinfsyn, mixsyn}
```
102
```## @seealso{h2syn, hinfsyn, mixsyn}
```
103
```## @end deftypefn
```
103
```## @end deftypefn
```
104
104
105
```## Author: Lukas Reichlin <lukas.reichlin@gmail.com>
```
105
```## Author: Lukas Reichlin <lukas.reichlin@gmail.com>
```
106
```## Created: December 2009
```
106
```## Created: December 2009
```
107
```## Version: 0.2
```
107
```## Version: 0.3
```
108
108
109
```function P = augw (G, W1 = [], W2 = [], W3 = [])
```
109
```function P = augw (G, W1 = [], W2 = [], W3 = [])
```
110
110
111
```  if (nargin == 0 || nargin > 4)
```
111
```  if (nargin == 0 || nargin > 4)
```
112
```    print_usage ();
```
112
```    print_usage ();
```
`...`
`...`
139
139
140
```  Pu = Pu1 * G  +  Pu2;
```
140
```  Pu = Pu1 * G  +  Pu2;
```
141
141
142
```  P = append (W1, W2, W3, eye (p, p)) * [Pr, Pu];
```
142
```  P = append (W1, W2, W3, eye (p, p)) * [Pr, Pu];
```
143
143
144
```  P = mktito (P, p, m);
```
145
144
```endfunction
```
146
```endfunction
```
145
147
146
148
147
```function [W, p, m] = __adjust_weighting__ (W, s)
```
149
```function [W, p, m] = __adjust_weighting__ (W, s)
```
148
150