Overview
| Comment: | Split up outtput into controlled and constrained |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
15390c620e61e45b94a31322c7b07d76 |
| User & Date: | gawthrop@users.sourceforge.net on 2003-11-02 23:34:57.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2003-11-03
| ||
| 01:07:16 | Previous version wrong for x_0 ne 0; this version now correct check-in: a08be0e007 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
2003-11-02
| ||
| 23:34:57 | Split up outtput into controlled and constrained check-in: 15390c620e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 21:21:51 | More parameters in p_c and p_o check-in: 7079cabfcc user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/control/PPP/ppp_lin_run.m
from [1a9ee50b74]
to [c8c82444b3].
| ︙ | |||
17 18 19 20 21 22 23 24 25 26 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | + + + + + + + + - + + + + + + + + + + + + + + + - + + - - - - - - - |
##Defaults
if nargin<1 # Default name to dir name
names = split(pwd,"/");
[n_name,m_name] = size(names);
Name = deblank(names(n_name,:));
endif
if nargin<6
p_c.N = 50;
endif
if nargin<7
p_o.sigma = 1e-1;
endif
## System
sys = mtt2sys(Name); # Create system
|
| ︙ | |||
132 133 134 135 136 137 138 | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | - |
if !struct_contains(p_o,"method")
##p_o.method = "continuous";
p_o.method = "intermittent";
endif
|
| ︙ | |||
172 173 174 175 176 177 178 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | - - + - |
##Sanity check A_u
[p_c.n_U,M_u] = size(p_c.A_u);
if (p_c.n_U!=M_u)
error("A_u must be square");
endif
## Checks
|
| ︙ | |||
277 278 279 280 281 282 283 | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | - + |
else
## Input constraints
[Gamma_u, gamma_u] = \
ppp_input_constraints(p_c.A_u,p_c.Tau_u,p_c.Min_u,p_c.Max_u);
## Output constraints
[Gamma_y,gamma_y] = \
|
| ︙ |