help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quadrature of funct. with parameters


From: Guillem Borrell Nogueras
Subject: Re: quadrature of funct. with parameters
Date: Fri, 17 Mar 2006 17:27:37 +0100
User-agent: KMail/1.9.1

Hi

Yu can use an anonymous function to reduce the variables if some parameter is 
known

f2= @(x) f(x,2)

guillem

On Friday 17 March 2006 14:38, Gorazd Brumen wrote:
> Hi all,
>
> Is there a way to do numeric quadrature of a function over
> one variables if the function takes as arguments several parameters,
> i.e. f = f(x,a), and i just want a quadrature over x.
> Aja, and is there a solution not using global variables?
>
>
> thanks a lot,
> G.

-- 

Guillem Borrell Nogueras
WEBSITE
   http://torroja.dmt.upm.es:9673/Guillem_Site/
BLOG
   http://torroja.dmt.upm.es:9673/Guillem_Borrell/
EMAIL
   guillemborrell_at_gmail.com (personal)
   guillem_at_torroja.dmt.upm.es (CFD Lab. ETSIA)



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]