Path: news.mathworks.com!newsfeed-00.mathworks.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Scott Seidman <namdiesttocs@mindspring.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Numerical recipes in Matlab
Date: 19 Jan 2005 18:28:56 GMT
Organization: Your Company
Lines: 29
Message-ID: <Xns95E3892A916C8scottseidmanmindspri@130.133.1.4>
References: <eef9109.-1@webx.raydaftYaTP> <eef9109.0@webx.raydaftYaTP>
X-Trace: individual.net KO7M045Th8vXLL1I1HbkyQmvoEA1p6syo+GQ4+ZM0EyTRKI2A=
User-Agent: Xnews/5.04.25
Xref: news.mathworks.com comp.soft-sys.matlab:255272



"Duane Hanselman" <masteringmatlabSPAMNOT@yahoo.com> wrote in 
news:eef9109.0@webx.raydaftYaTP:

> Navin wrote:
>>
>>
>> I understand that there is no book as such for numerical recipes in
>> matlab. Did anyone of you ever converted the Codes of Numerical
>> recipes in C into Matlab using MEX functions (External/API
>> interfaces). If yes please let me know.
> 
> I have the text Numerical Recipes in C. I see no need to convert the
> functions from this book into MATLAB M-files or Mex-files. Most of
> the functions in the book already exist in MATLAB in much more
> numerically robust implementations. So why do all this work? Maybe
> that's why no one has done it yet.
> 
> Duane
> 

The Numerical Recipes books are a pretty good description of the 
algorithms, for those who feel like they need to understand the algorithms.   
The code in early editions was famously buggy.

If Matlab doesn't directly provide the routines (and they probably directly 
provide most of the routines), use the fortran or c version of the book, 
consider the code provided as pseudo code, and write it in matlab.

Scott