Overview
| Comment: | Now allows e format and NaN numbers. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
fa5c69c7a5518a268fdd44c062112cd0 |
| User & Date: | gawthrop@users.sourceforge.net on 1996-08-11 10:06:50.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1996-08-11
| ||
| 10:37:40 | Corrected mistake in step-response calculation. check-in: 88386835e8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 10:06:50 | Now allows e format and NaN numbers. check-in: fa5c69c7a5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:45:46 | Initial revision check-in: cb07c75350 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sm2sr_m
from [255ad8ea1b]
to [d36229dcc4].
| ︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 | # Copyright (c) P.J.Gawthrop, 1996. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### echo Creating $1_sr.dat | > > > | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1996/08/11 09:45:46 peter
## Initial revision
##
###############################################################
echo Creating $1_sr.dat
$MATRIX << EOF | awk '$1 !~ /[A-MO-Zb-cf-z]/ && NF>0 {print} ' >$1_sr.dat
tmax=0.01; tstep=tmax/100;
T = [0:tstep:tmax]';
[A,B,C,D,E] = $1_dm($1_numpar);
y = dm2sr(A,B,C,D,E,T);
[Ny,Nu]=size(D);
NN = Ny*Nu;
|
| ︙ | ︙ |