Converting fortran code to matlab
Show older comments
Hello,
I have a Fortran .dll compiled on a Win32 XP machine and the fortran source code. I moved the code to Matlab to be more flexible on new code development. Comparing the results of the .dll and the Matlab code I receive a relative accuracy error between 0.01% and 3%. My question is:
- both programms use double resp. real*8 numbers
- both programms are running on the same computer.
Why do I get these errors in accuracy?
Gerd
Accepted Answer
More Answers (1)
Gerd
on 9 May 2011
0 votes
Categories
Find more on Fortran with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!