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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 1 件の回答 | 0