Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d437a942dabf05ce4513085244e40c4769f4119ef3fc02be27ef80e9239c70ee
User & Date: gawthrop@users.sourceforge.net on 2000-09-11 11:06:46
Other Links: branch diff | manifest | tags
Context
2000-09-11
11:08:29
Chooses 1st i/o from mimo system to ceate siso check-in: ac656bec09 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:06:46
Initial revision check-in: d437a942da user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:06:21
Assume Nu=1 check-in: 6346abd63e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/ssl_r2tex version [81b2f09222].





























































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
76
77
78
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: ssl_r2tex
# Reduce constrained-state matrices to LaTex constrained-state matrices.
# P.J.Gawthrop  January 8th 1997
# Copyright (c) P.J.Gawthrop, 1997

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1998/01/22 13:16:30  peterg
## Initial revision
##
###############################################################


# Inform user
echo Creating $1_ssl.tex

# Remove the old log file
rm -f ssl_r2tex.log

# Use reduce to accomplish the transformation
reduce >ssl_r2tex.log<< EOF

%Read the definitions file
in "$1_def.r";

%Read the obsever gains file
in "$1_ssl.r";

%Read the substitution file
in "$1_subs.r";

%Read the simplification file
in "$1_simp.r";

%Read the formatting function
in "$MTTPATH/trans/latex_matrix.r";

OFF Echo;
OFF Nat;
OFF EXP;
%ON Rounded;
%Precision 5;


OUT "$1_ssl.tex";

%Write out the canonical matrices
write "%Canonical-form  matrices $1";
write "%File: $1_ssl.tex";
write"";


write "%  - Gain matrix - controller form";
MTT_Matrix := MTTL_o$ 
MTT_Matrix_name := "MTTL_o"$
MTT_Matrix_n := MTTNx$
MTT_Matrix_m := 1$
Latex_Matrix()$

write "%  - Gain matrix - physical form";
MTT_Matrix := MTTL$ 
MTT_Matrix_name := "MTTL"$
MTT_Matrix_n := MTTNx$
MTT_Matrix_m := 1$
Latex_Matrix()$

SHUT "$1_ssl.tex";
quit;
EOF


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]