Overview
Comment:Step response now goes through m, dat and gdat conversions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6169ce90bb7de6f3dc31c5aa880d44ab8abf722905f2210b3869e813b51b57d9
User & Date: gawthrop@users.sourceforge.net on 1996-08-14 09:16:08
Other Links: branch diff | manifest | tags
Context
1996-08-14
09:21:17
Gnu plot conversion now done externally in dat2gdat check-in: cf192ce496 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:16:08
Step response now goes through m, dat and gdat conversions check-in: 6169ce90bb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:15:02
Now encapsulates the data into an m file
Name changed
check-in: b6f0f8cdc5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [478d2633c6] to [5d46fef15d].

15
16
17
18
19
20
21



22
23
24
25
26
27
28
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$



## Revision 1.7  1996/08/11 19:49:27  peter
## Parameter passing (via $4) added.
##
## Revision 1.6  1996/08/11 10:40:56  peter
## Added new numpar stuff.
## Added step response.
##







>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.8  1996/08/12 20:19:52  peter
## Arguments now passed via $1_args.m file
##
## Revision 1.7  1996/08/11 19:49:27  peter
## Parameter passing (via $4) added.
##
## Revision 1.6  1996/08/11 10:40:56  peter
## Added new numpar stuff.
## Added step response.
##
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266








267
268
269
270
271
272
273
$1_tf.tex: $1_def.r $1_tf.r $1_sympar.r $1_simp.r
	tf_r2tex $1; latex_tidy $1_tf.tex


#Time responses
$1_ir.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2ir_m2dat $1 '$4'
$1_sr.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2sr_m2dat $1 '$4'

#Frequency responses
$1_fr.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2fr_m2dat $1 '$4'

#Partially-known system indentification structure matrices
$1_pkim.r: $1_tf.r $1_sympar.r 
	tf2pkim_r $1; tidy $1_pki.r
$1_pkim.tex: $1_def.r $1_pkim.r $1_sympar.r
	pkim_r2tex $1; latex_tidy $1_pkim.tex









#Generic conversion of Latex to latex document
$1_$2.doc: $1_$2.tex
	showtex $1 $2

#Generic conversion of LaTeX doc to dvi
$1_$2.dvi: $1_$2.doc







|
|










>
>
>
>
>
>
>
>







251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
$1_tf.tex: $1_def.r $1_tf.r $1_sympar.r $1_simp.r
	tf_r2tex $1; latex_tidy $1_tf.tex


#Time responses
$1_ir.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2ir_m2dat $1 '$4'
$1_sr.m: $1_dm.m $1_numpar.m $1_args.m
	dm2sr_m $1 '$4'

#Frequency responses
$1_fr.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2fr_m2dat $1 '$4'

#Partially-known system indentification structure matrices
$1_pkim.r: $1_tf.r $1_sympar.r 
	tf2pkim_r $1; tidy $1_pki.r
$1_pkim.tex: $1_def.r $1_pkim.r $1_sympar.r
	pkim_r2tex $1; latex_tidy $1_pkim.tex

#Generic conversion of data files from m to dat format
$1_$2.dat: $1_$2.m
	m2dat $1_$2

#Generic conversion of data files from dat to (gplot) gdat format
$1_$2.gdat: $1_$2.dat
	dat2gdat $1_$2

#Generic conversion of Latex to latex document
$1_$2.doc: $1_$2.tex
	showtex $1 $2

#Generic conversion of LaTeX doc to dvi
$1_$2.dvi: $1_$2.doc
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
$1_cbg.ps: $1_cbg.fig
	echo Creating $1_cbg.ps
	fig2dev -Lps $1_cbg.fig >$1_cbg.ps
endif

#Create PostScript version of dat file
ifeq ('$2','ir')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
endif

ifeq ('$2','sr')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
endif

ifeq ('$2','fr')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
endif

#Generic conversion of dvi to ps
ifneq ('$2','abg')
ifneq ('$2','cbg')
ifneq ('$2','ir')
ifneq ('$2','sr')







|
|



|
|



|
|







298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
$1_cbg.ps: $1_cbg.fig
	echo Creating $1_cbg.ps
	fig2dev -Lps $1_cbg.fig >$1_cbg.ps
endif

#Create PostScript version of dat file
ifeq ('$2','ir')
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

ifeq ('$2','sr')
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

ifeq ('$2','fr')
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

#Generic conversion of dvi to ps
ifneq ('$2','abg')
ifneq ('$2','cbg')
ifneq ('$2','ir')
ifneq ('$2','sr')


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