MATT_MESSAGE
Create Sample MATT messages.
MATT_MESSAGE
is a C program which
simulates the operation of a satellite warning system which communicates
by a series of formatted messages indicating the location and type of
various threats.
Usage:
matt_message
runs the program, creating a sample file matt_message.txt containing
20 random MATT messages.
Related Data and Programs:
MATT_MESSAGE is available in
a C version.
Source Code:
Examples and Tests:
List of Routines:
-
MATT_MESSAGE writes 20 random messages to a MATT message file.
-
GAUSS generates an approximately normal random deviate.
-
LEAP determines if a year was a leap year.
-
NMDAYS returns the number of days in a month.
-
NORMALIZE_DATE normalizes a date.
-
RANFLOAT returns a uniformly random float between XLO and XHI.
-
RANINT returns a uniformly random int NLO and NHI.
-
RANINTW returns a random integer with weighted distribution.
You can go up one level to
the C source codes.
Last revised on 01 January 2009.