Differences From Artifact [7743bb793c]:
- File mttroot/mtt/lib/control/PPP/ppp_inflate.m — part of check-in [182384e0d6] at 2001-04-02 15:02:35 on branch origin/master — Putting the PPP library under cvs (user: gawthrop@users.sourceforge.net, size: 564) [annotate] [blame] [check-ins using] [more...]
To Artifact [c4fc3a116e]:
- File mtt/lib/control/PPP/ppp_inflate.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 564) [annotate] [blame] [check-ins using] [more...]
- File mttroot/mtt/lib/control/PPP/ppp_inflate.m — part of check-in [2179807639] at 2004-08-09 14:44:41 on branch origin/master — Compatible with Octave 2.1.57 (user: gawthrop@users.sourceforge.net, size: 564) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
11 12 13 14 15 16 17 |
if N<M
error("A_v must have at least as many rows as columns");
endif
n = N/M; # Number of matrix elements in A_v
| | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
if N<M
error("A_v must have at least as many rows as columns");
endif
n = N/M; # Number of matrix elements in A_v
if round(n)!=n
error("A_v must be a column vector of square matrices");
endif
A_m = [];
for i = 1:n
A_m = ppp_aug(A_m,ppp_extract(A_v,i));
endfor
|
| ︙ | ︙ |