comparison scripts/control/system/sysout.m @ 7158:5545c1ae9a83

[project @ 2007-11-11 02:20:13 by jwe]
author jwe
date Sun, 11 Nov 2007 02:20:13 +0000
parents 8aa770b6c5bf
children 5ae4cb738695
comparison
equal deleted inserted replaced
7157:6f55e942a9c7 7158:5545c1ae9a83
105 endif 105 endif
106 106
107 if (strcmp(opt, "ss") || strcmp(opt, "all")) 107 if (strcmp(opt, "ss") || strcmp(opt, "all"))
108 sys = sysupdate (sys, "ss"); 108 sys = sysupdate (sys, "ss");
109 disp ("state-space form:"); 109 disp ("state-space form:");
110 disp ("%d continuous states, %d discrete states", nn, nz); 110 printf ("%d continuous states, %d discrete states\n", nn, nz);
111 if (nn+nz > 0) 111 if (nn+nz > 0)
112 disp ("State(s):") 112 disp ("State(s):")
113 xi = (nn+1):(nn+nz); 113 xi = (nn+1):(nn+nz);
114 xd = zeros (1, nn+nz); 114 xd = zeros (1, nn+nz);
115 if (! isempty (xi)) 115 if (! isempty (xi))