From: Jonas Knudsen on
"Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <hnkrc0$e7g$1(a)fred.mathworks.com>...
> You need to pass z1 as function "parameter" of a function that integrate with respect to "y". The syntax help page is here:
>
> http://www.mathworks.de/access/helpdesk/help/techdoc/math/bsgprpq-5.html
>
> Bruno

Hey Bruno
And thanks again.
Still. Im not sure I get how it's done in MATLAB. In the exambles it seems for me like they just parametize with b and c, and call the function with two known values of b and c.
From: Bruno Luong on
"Jonas Knudsen" <s071971(a)student.dtu.dk> wrote in message <hnl5k5$1dc$1(a)fred.mathworks.com>...

>
> Hey Bruno
> And thanks again.
> Still. Im not sure I get how it's done in MATLAB. In the exambles it seems for me like they just parametize with b and c, and call the function with two known values of b and c.

The purpose of parametrize is that the parameter can change conveniently. Do you try to write the inner quad (on z1) with y as parameter (try with y scalar for the moment)? This is the first thing to do.

Bruno
First  |  Prev  | 
Pages: 1 2
Prev: 3D Matrix access in Mex files
Next: help