Feeds
已回答
Accelerate a loop involving the built-in integral command
Thank you! Interesting! I tried mem_my_fun = memoize(@my_fun); Output = Zeros(2*N,1); for p = 1 : N Output(2*p-1,1) = in...
Accelerate a loop involving the built-in integral command
Thank you! Interesting! I tried mem_my_fun = memoize(@my_fun); Output = Zeros(2*N,1); for p = 1 : N Output(2*p-1,1) = in...
1 year 前 | 0
提问
Accelerate a loop involving the built-in integral command
A Matlab script has the following instructions: for p = 1 : N Output(2*p-1,1) = integral(@(t) cos((2*p-1)*t).*my_fun(t,par...
1 year 前 | 3 个回答 | 0
3
个回答提问
fsolve: difference between dogleg trust-region and Powell's dogleg methods?
Matlab's help on the command `fsolve` for systems of nonlinear equations is not very clear. It seems to be by default a trust-re...
1 year 前 | 0 个回答 | 0
0
个回答提问
Optimize the construction of a function for quadrature purposes
Hello, I want to compute the integral of a function which is the linear combination of some known function family (here, Fourie...
1 year 前 | 1 个回答 | 0