Ben Barrowes has been using fortran and Matlab since beginning graduate school in 1996. During graduate work at MIT, I decided to translate several numerical fortran routines into Matlab as part of my research. Frustrated by the tedious and repetitive conversion process, I decided to modify my matlab2fmex translator into f2matlab, an automated fortran to Matlab code converter/translator.
f2matlab is the only semiautomatic fortran to Matlab translator in the world. It is usually sufficient for the conversion of small programs when followed by manual cleanup, debugging, and validation. The most recent version of f2matlab can be downloaded here. I am also able to convert fortran to R and Python as well.
I specialize in complete translation services for larger, more complex, mission critical fortran programs. Using f2matlab as a starting point, I can complete projects and incorporate revisions rapidly and accurately.
Specifically, I provide the following translation consulting services:
- inspection and cleanup (refactor) of fortran code including goto remediation
- translation of fortran line by line with the help of f2matlab
- validation of Matlab code using customer supplied tests
- optimization of Matlab code (optional and limited to what can be accomplished without major code revision)
- Fortran/Matlab general services
Translation Examples
- example1.f90 and example1.m – shows some of the capabilities of f2matlab.
- Computation of Special Functions - A direct translation of the original FORTRAN-77 implementation of "Computation of Special Functions." by Zhang and Jin.
- toms757_prb.f90 and toms757_prb.m – Uncommon special functions and testing routines from John Burkardt. ~12k lines of code.
- slatec library – not fully complete, >450k lines of code.
My background is in physics and electrical engineering as per my CV, dissertation, and other publications.
References upon request.
Contact: Ben Barrowes, barrowes@alum.mit.edu