From: Christopher Creutzig <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Adams-Bashforth-Moulton method
Date: Thu, 07 Feb 2013 09:24:22 +0100
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <>
References: <> <>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: 1360225462 20919 (7 Feb 2013 08:24:22 GMT)
NNTP-Posting-Date: Thu, 7 Feb 2013 08:24:22 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To: <>
Xref: comp.soft-sys.matlab:788475

On 05.02.13 19:52, Emilia Przybysz wrote:
> Thanks :) 
> I changed curly braces to parentheses and that's ok- I checked with ode113. 
> But I still don't know what should I do with your second piece of advice. Where should I put curly braces? How to change this part
>>>[t, y]=rk4(f, tspan0, y0, 3, varargin{:});   

Don't change it. Steven just said you should not change all curly braces
you have anywhere, since in this place, they are exactly what you need.