Path: news.mathworks.com!not-for-mail
From: Christopher Creutzig <Christopher.Creutzig@mathworks.com>
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: <511364B6.9080000@mathworks.com>
References: <46eeeba3-e22b-4db4-8726-6cb19b69a47d@googlegroups.com> <973c9c5f-656c-4b8f-bd92-ad8c0b3c781e@googlegroups.com>
NNTP-Posting-Host: pad-ccreutzi-maci.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: newscl01ah.mathworks.com 1360225462 20919 172.16.195.118 (7 Feb 2013 08:24:22 GMT)
X-Complaints-To: news@mathworks.com
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: <973c9c5f-656c-4b8f-bd92-ad8c0b3c781e@googlegroups.com>
Xref: news.mathworks.com 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.


HTH,
	Christopher