matlab88(1) is a public-domain FORTRAN77 program that allows the user to manipulate small matrices. It dates back to at least 1980. This version is derived from a version ported to the Amiga platform in 1988 from a VAX/VMS platform version.
This program has nowhere near the capabilities of more recent commerical (non-PD) versions of matlab(1); See MATLAB and OCTAVE on the Internet if you need something more powerful.
This code originally dates back to before IF-ELSE-ENDIF and CHARACTER were commonly available and has not been extensively updated. It still makes heavy use of HOLLERITHs and makes some assumptions about the number of characters per word in a few routines but is otherwise portable between platforms and still compilable from f90 and f95 compilers that are friendly enough to support the pre-FORTRAN77 HOLLERITH constructs.
g95 matlab88.f -fsloppy-char -o /usr/local/bin/matlab88
$ matlab88 < M A T L A B > Version of 05/25/82 HELP is available <>help Type HELP followed by ... INTRO (To get started) NEWS (recent revisions) ABS ATAN BASE CHAR CHOL CHOP COND CONJ COS DET DIAG DIAR DISP EIG EPS EXEC EXP EYE FLOP HESS HILB IMAG INV KRON LINE LOAD LOG LU MAGI NORM ONES ORTH PINV PLOT POLY PRIN PROD QR RAND RANK RAT RCON REAL ROOT ROUN RREF SAVE SCHU SIN SIZE SQRT SUM SVD TRIL TRIU USER CLEA ELSE END EXIT FOR HELP IF LONG RETU SEMI SHOR WHAT WHIL WHO WHY ANS EDIT FILE FUN MACRO ( ) ; : + - * / \ = . , ' < > <>help intro INTRO Welcome to MATLAB. Here are a few sample statements: A = <1 2; 3 4> b = <5 6>' x = A\b
= eig(A), norm(A-V*D/V) help \ , help eig exec('demo',7) For more information, see the MATLAB Users' Guide which is contained in file ... or may be obtained from Jim Locker. See the HELP NEWS section.