Tag: Matlab


DDEABM is variable step size, variable order Adams-Bashforth-Moulton PECE solver for integrating a system of first order ordinary differential equations [1-2]. It is a public-domain code originally developed in the 1970s-1980s, written in FORTRAN 77, and is available from Netlib (as part of

Posted in Programming Tagged with: , , , , ,

Fortran and Pyplot

Python’s matplotlib.pyplot is a very nice collection of functions that provide an easy Matlab-like interface for data plotting. It can be used to generate quite professional looking plots. There is a lot of information on the internet about calling Fortran from Python,

Posted in Programming Tagged with: , , , , ,


Here is a simple Fortran subroutine to return only the unique values in a vector (inspired by Matlab’s unique function). Note, this implementation is for integer arrays, but could easily be modified for any type. This code is not particularly

Posted in Programming Tagged with: ,