| MATLAB Central > MATLAB Newsreader > Using quadl() in nested functions |
|
|
|
Subject: Using quadl() in nested functions From: Amykelly Date: 5 Jul, 2012 16:56:08 Message: 1 of 4 |
|
I made the following nested functions trying to do integration in both primary and nested functions. Notice the integral from the nested function is in a loop. When I pull all the inputs of primary function "total" into the nested function"hw" and make "hw" an independent function, it runs with no problem. But when I add on an outer integral and impose this nesting structure to make "total', Matlab gives the error message afterwards. Could anybody shed light on what'd go wrong in the function? Many thanks in advance. |
|
Subject: Using quadl() in nested functions From: Star Strider Date: 5 Jul, 2012 19:41:08 Message: 2 of 4 |
|
"Amykelly " <graduateymz@gmail.com> wrote in message <jt4gv8 |
|
Subject: Using quadl() in nested functions From: Amykelly Date: 5 Jul, 2012 21:46:08 Message: 3 of 4 |
|
"Star Strider" wrote in message <jt4qkk$bqb$1@newscl01ah.mathworks.com>... |
|
Subject: Using quadl() in nested functions From: Star Strider Date: 6 Jul, 2012 15:19:17 Message: 4 of 4 |
|
"Amykelly " <graduateymz@gmail.com> wrote in message <jt51v0$a3l$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
