필터 지우기
필터 지우기

Solving a single non-linear equation given by a vector of values and having a lot of parametrs efficiently.

조회 수: 3 (최근 30일)
Dear All, I have the following problem: I have an equation f(x,a,b,c,d,e) = 0, where x is a variable and other letters represent parameters. The equation f is given by a vector of values and not by an analytic formula. These points form a monotonic, nonlinear shape that does not necessarily cross the zero line (then the equation has no solution).
I am solvig the equation by flipping the axes (i.e. rotating the graph of the function by 90degress to the left) and by interpolating the value of the function in zero: x = F(y,a,b,c,d,e), where F is the rotated function and y = 0. This method works well but it is inside of a multiple parallelized for loop. Unfortunately, it is still slow because of the curse of dimensionality. Matlab does not allow the interpolation routine to be vectorized so the loops are necessary.
Can anyone suggest a faster solution ?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by