Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!c13g2000cwb.googlegroups.com!not-for-mail
From: beliavsky@aol.com
Newsgroups: comp.soft-sys.matlab
Subject: Re: Numerical recipes in Matlab
Date: 19 Jan 2005 15:00:13 -0800
Organization: http://groups.google.com
Lines: 30
Message-ID: <1106175613.965719.253820@c13g2000cwb.googlegroups.com>
References: <eef9109.-1@webx.raydaftYaTP>
NNTP-Posting-Host: 141.162.101.150
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1106175618 31919 127.0.0.1 (19 Jan 2005 23:00:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 19 Jan 2005 23:00:18 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=141.162.101.150;
Xref: news.mathworks.com comp.soft-sys.matlab:255325



Scott Seidman wrote:
>Push comes to shove, when using any sort of numerical libraries, try
to
>use something with a huge user base and many reviews. IMSL and netlib
>come to mind, as does (of course) matlab.

NAG should also be considered. As described at
http://www.nag.com/nagware/matlab_products.asp , it possible to call
the NAG Fortran library from Matlab.

<snip>

>Fortran has its proponents (myself included), but if any update of the
language actually
>made I/O easy, then it wouldn't be Fortran anymore! I'd much rather
work
>from the matlab side.

IMO Fortran I/O is easy and powerful. If x is a matrix with 10 columns
then just something like

write (some_unit,"(10f10.4)") x

writes the matrix to a file. If you don't know how many columns there
will be, it is easy to build the format string at run-time. A matrix
can be read with just
read (some_unit,*) x

What I/O do you think is awkward in Fortran?