numerical differentiation with constraints on the parameter space

조회 수: 1 (최근 30일)
Abhinav
Abhinav 2018년 5월 3일
편집: Abhinav 2018년 5월 3일
I want to compute the derivatives of a non-analytic function. I see there are packages available (for example, DERIVESTsuite) to compute the numerical derivatives but they do not have any option to put constraints on the parameter space. Please suggest some ways to compute the numerical derivatives with constraints on the parameter. I have only one constraint: the parameters can take only positive values.
For example, suppose I have a function f(x) which is defined as a MATLAB function,
where x=[x1,x2] is a vector with x1>0 and x2>0
and I want to compute Jacobian of f(x) w.r.t. x.
The problem is that the function f(x) cannot be computed for negative values of either x1 or x2. So, if my program tries to compute the partial derivative of f(x) w.r.t. x1 at x1=0 using the formula
(f(1)-f(-1))/2,
it will give an error.
  댓글 수: 4
Ameer Hamza
Ameer Hamza 2018년 5월 3일
How if f(x) defined? You mentioned "non-analytic function". Is it defined as a MATLAB function?
Abhinav
Abhinav 2018년 5월 3일
Yes, it is defined as a MATLAB function.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by