23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Property Value Description<br />

Vectorized on |{off} Set on to inform bvp4c that you have coded the ODE<br />

function F so that F([x1 x2 ...],[y1 y2 ...]) returns<br />

[F(x1,y1) F(x2,y2) ...]. That is, your ODE function can<br />

pass to the solver a whole array of column vectors at once.<br />

This allows the solver to reduce the number of function<br />

evaluations, and may significantly reduce solution time.<br />

FJacobian <strong>Function</strong> Analytic partial derivatives of ODEFUN.<br />

For example, when solving y′ = f( x, y)<br />

, set this property to<br />

@FJAC if DFDY = FJAC(X,Y) evaluates the Jacobian of f with<br />

respect to y . If the problem involves unknown parameters<br />

p , [DFDY,DFDP] = FJAC(X,Y,P) must also return the<br />

partial derivative of f with respect to p .<br />

BCJacobian <strong>Function</strong> Analytic partial derivatives of BCFUN.<br />

For example, for boundary conditions bc( ya, yb)<br />

= 0 , set<br />

this property to @BCJAC if [DBCDYA,DBCDYB] = BCJAC(YA,YB)<br />

evaluates the partial derivatives of bc with respect to ya<br />

and to yb . If the problem involves unknown parameters p ,<br />

then [DBCDYA,DBCDYB,DBCDP] = BCJAC(YA,YB,P) must also<br />

return the partial derivative of bc with respect to p<br />

.<br />

Nmax positive integer<br />

{floor(1000/n)}<br />

Maximum number of mesh points allowed.<br />

Stats on | {off} Display computational cost statistics.<br />

See Also @ (function_handle), bvp4c, bvpget, bvpinit, deval<br />

bvpset<br />

2-185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!