MATSET: Combine Overlap Matrix Files

Last updated 19 Nov 97

MATSET creates an Overlap Matrix file by combining up to five input Overlap Matrix files. The user specifies how much weight is given to each input file. Any overlap matrix may be used as long as the number of cases is identical. At least two input files must be specified.

Program Invocation

The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.


@codap matset <opt> <ssss> <OMf> <IM1> <IM2> [<IM3>] [<IM4>] [<IM5>]

opt:      Program Options (none currently supported)
ssss:     The study number
OMf:      Output OVRLAP matrix file
IM1:      Input OVRLAP matrix file
IM2:      Input OVRLAP matrix file
IM3:      Input OVRLAP matrix file
IM4:      Input OVRLAP matrix file
IM5:      Input OVRLAP matrix file

MATSET Control Card


MATSET <study> <title>

MATSET:   cc 01-06  The literal 'MATSET'
study:    cc 08-11  The study number for this run
title:    cc 13-72  Title for the output file  

Weight Cards


<filref> <weight>

filref:   cc 01     The input file reference number (1-5)
study:    cc 03-07  The relative weight assigned to values in file <filref>

The weights may be specified as percentages or simply relative numbers. These cards are terminated by an end-of-file or an '@eof' image.

Examples

@codap matset - ssss om102 om100 om101
MATSET ssss New title for output file OM102
1 2
2 3
@eof

This example will create an Overlap Matrix file, where each overlap value is computed by adding 40% of the value in file 1 (OM100) and 60% of the value in file 2 (OM101).

@codap matset - ssss om102 om100 om101
MATSET ssss New title for output file OM102
1 .40
2 .60
@eof

This example is identical to the previous example.

Back to document index