MATLAB Answers

How to convert from FORTRAN TO MATLAB

10 views (last 30 days)
Oluwaseyi Aliu
Oluwaseyi Aliu on 3 Oct 2020
Commented: Oluwaseyi Aliu on 4 Oct 2020
Dear all,
Please am working on a project and now found a FORTRAN code to speed up my research but I having been using MATLAB and so, I need to convert the newly found FORTRAN code to MATLAB. Please kindly help me out on this conversion or give a detail explanation on how best I can convert from FORTRAN to MATLAB. The FORTRAN code is in the attachment. Thanks in anticipation!
  1 Comment
KSSV on 3 Oct 2020
  1. Convert the FORTRAN code to MATLAB line by line going through the code.
  2. If problem is known, try knowing the inbuilt functions, toolboxes in MATLAB.

Sign in to comment.

Answers (2)

Ben Barrowes
Ben Barrowes on 3 Oct 2020
My f2matlab can do this kind of conversion. Please download from the file exchange and give it a try. You will have to split the code up into the five files in the pdf and run f2matlab on each file.
I might also do a free conversion if I get time, but in any case, if you run into trouble PM me.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!