Rank: 53 based on 3976 downloads (last 30 days) and 16 files submitted
photo

Ben Barrowes

E-mail

Personal Profile:

received both his B.S. and M.S. degrees in Electrical Engineering from Brigham Young
University in 1999, and the Ph.D. degree in 2004 from the Massachusetts Institute of
Technology, Cambridge, MA. He was named top high school math student in the state of Utah
(1991), received two Rocky Mountain Space Grant Consortium (RMSGC) grants, and was awarded an
NSF graduate fellowship. During 2004/05, he was a Director's funded Postdoc at Los Alamos
National Laboratory in the Physics Division. His research interests center on electromagnetic
wave theory and modeling with applications including wind-wave interaction, electromagnetic
scattering from the sea surface as well as from random media, nanoscale energy generation
techniques, computer interface methodologies, electromagnetic induction models for
nonspherical geometries, and biological electromagnetic phenomena. Other interests include
automatic code conversion/translation and arbitrary precision computing.

Professional Interests:
Consultant specializing in fortran <-> matlab conversion/translation/validation/optimization.

 

Watch this Author's files

 

Files Posted by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Sep 2009 Screenshot suplabel Places text as a title, xlabel, or ylabel on a group of subplots. Author: Ben Barrowes subplot, super, customization, xlabel, ylabel, group 488 12
  • 3.83333
3.8 | 12 ratings
18 Jun 2009 Multiple Precision Toolbox for MATLAB This toolbox defines a new mp class allowing multiple precision objects in MATLAB. Author: Ben Barrowes multiple precision, mpfr, gmp, arbitrary precision 311 19
  • 4.08333
4.1 | 12 ratings
18 Jun 2009 oct2ml Converts octave style m-files to matlab style m-files Author: Ben Barrowes convert, external interface, conversion, octave, translate, translation 182 1
  • 5.0
5.0 | 1 rating
01 May 2009 f2matlab Converts basic fortran90 source code to MATLAB source code. Author: Ben Barrowes convert, external interface, port, fortran, translate, matlab 391 9
  • 4.18182
4.2 | 11 ratings
29 Apr 2009 slatec The slatec library converted into matlab functions. Author: Ben Barrowes library, slatec, translated, traslated, converted 212 2
  • 5.0
5.0 | 1 rating
Comments and Ratings on Ben's Files View all
Updated File Comment by Comments Rating
02 Nov 2009 f2matlab Converts basic fortran90 source code to MATLAB source code. Author: Ben Barrowes Richard, Martin

Very useful package indeed. Thank you.

30 Oct 2009 textLoc Puts string onto the current axes with location similar to legend locations. Author: Ben Barrowes ihsan

That is what I need. Thanks!

12 Oct 2009 Multiple Precision Toolbox for MATLAB This toolbox defines a new mp class allowing multiple precision objects in MATLAB. Author: Ben Barrowes Savransky, Dmitry

Absolutely fantastic. Exactly what I needed - many thanks. Quick note for anyone installing on RHEL5. The default rpms that may be pre-installed for GMP don't seem to work when it comes time to compile the c files. However, if you get rid of these and compile GMP and MPFR from source, everything works great.

30 Sep 2009 Multiple Precision Toolbox for MATLAB This toolbox defines a new mp class allowing multiple precision objects in MATLAB. Author: Ben Barrowes Delaney, Nigel

I just reinstalled this package for a windows 7 64 bit computer (running 64 bit matlab). It was a bit of work so I thought I would share the process, or offer to email anyone the binaries/toolbox as I have it.
The first issue is that building mpfr/gmp for x64 is quite hard. Apparently, there is a new ming compiler out for 64 bit, but no one has had it work so far (and I didn't try it). The second option, SUA is also useless as there is no gcc compiler for x64 with it, and you would be forced to make a 32 bit version. So, in order to get the libraries I had to use MPIR (which can substitute for GMP) and then compile mpfr with this instead of gmp. To do this, you need to do the following:
Download MPFR ad MPIR :
http://www.mpfr.org/
http://www.mpir.org/
Now, both of these are hard to build, but someone has setup a way to build them with either visual studio or visual studio express that is reasonably painless. Go here to get the build instructions.
http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php
Note that in order to get the visual studio build to work, you have to install a yasm assembler program and integerate it into visual studio (follow the 3 step instructions on their website).
 http://www.tortall.net/projects/yasm/
One you are setup to go, first build mpir using visual studio. Note that there is a vcbuild directory included with the mpir program that you can use directly to make the files. This program can substitute for gmp in the next linking step, so use the gmp.h header file that comes with it next. With that done, you can now open the VS project from the gladman site and get ready to compile mpfr. Note that the project files he hands out do not include the actual code, so you will have to move the mpfr source files and reference mpir library files around to make sure they appear in their correct locations relative to the what is in the .sln file gladwell gives out. Once this is done, you are all set to build and things should compile just fine.
Next, compile the .mex files (which should be pretty straightforward now that the libraries are built). Now the package is up and running, however it did not work right away for me. It appears that for whatever reason if matlab saw this type of code:
length(x)==1
in the toolbox .m files, it would call the eq.m method of this toolbox instead of the builtin method, and this broke the dang thing as it would not know how to work with two double types. The same was true for <, >, etc.. This seemed very strange to me and I am not sure if it is due to matlab upgrades or to some odd system setting on my machine. In any event, changing the relevant files to check for a double and go to the builtin method seemed to work around the problem okay, and so far the code is working fine.

Great package overall!!! Certainly a lot of work must have gone into it, only giving it 4 out of 5 because I just spent 6 hours getting it to work, but I am sure if I had gone the 32 bit route it would have been much easier.

29 Sep 2009 Computation of Special Functions MATLAB translation (via f2matlab) of the original FORTRAN of "Computation of Special Functions." Author: Ben Barrowes Chamane

helpfull

Top Tags Applied by Ben
convert, fortran, matlab, utilities, annotation
Files Tagged by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Sep 2009 Screenshot suplabel Places text as a title, xlabel, or ylabel on a group of subplots. Author: Ben Barrowes subplot, super, customization, xlabel, ylabel, group 488 12
  • 3.83333
3.8 | 12 ratings
18 Jun 2009 Multiple Precision Toolbox for MATLAB This toolbox defines a new mp class allowing multiple precision objects in MATLAB. Author: Ben Barrowes multiple precision, mpfr, gmp, arbitrary precision 311 19
  • 4.08333
4.1 | 12 ratings
18 Jun 2009 oct2ml Converts octave style m-files to matlab style m-files Author: Ben Barrowes convert, external interface, conversion, octave, translate, translation 182 1
  • 5.0
5.0 | 1 rating
01 May 2009 f2matlab Converts basic fortran90 source code to MATLAB source code. Author: Ben Barrowes convert, external interface, port, fortran, translate, matlab 391 9
  • 4.18182
4.2 | 11 ratings
29 Apr 2009 slatec The slatec library converted into matlab functions. Author: Ben Barrowes library, slatec, translated, traslated, converted 212 2
  • 5.0
5.0 | 1 rating
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com