필터 지우기
필터 지우기

Derivative over double summation?

조회 수: 10 (최근 30일)
SAMUEL AYINDE
SAMUEL AYINDE 2019년 1월 12일
댓글: Walter Roberson 2019년 1월 14일
Please, can someone help me find the derivatives in this attachment? You can solve it in the attached excel document or solve it in word document and post the snap shot of the solution. Thank you so much.
derivatives over double summation.JPG
  댓글 수: 4
David Goodmanson
David Goodmanson 2019년 1월 13일
Hi Samuel,
so by dP/dm do you mean a matrix whose ij component is dP/dm_ij?
Also the summand in each of the double sums defining P is identical, so the two double sums are almost identical, differing only in slight chages in the upper limits. Is this what is intended?
SAMUEL AYINDE
SAMUEL AYINDE 2019년 1월 13일
Yes, dP/dm is a matrix whose ij component is dP/dm_ij. Yes, the double sums are almost identical. They differ only slightly in the upper limits. That exactly is what is intended.

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

답변 (1개)

Walter Roberson
Walter Roberson 2019년 1월 13일
The derivative of absolute value is not well defined.
  댓글 수: 8
SAMUEL AYINDE
SAMUEL AYINDE 2019년 1월 14일
편집: SAMUEL AYINDE 2019년 1월 14일
Hi Walter,
I can go with your approximation of absolute value. Now, I want to find dP/dm_ij in the equation below. Can you please help me? Thank you so much.
Walter Roberson
Walter Roberson 2019년 1월 14일
The solution is as I gave before with the difference of sign() , but remember you need to be careful on the boundary condition .
The derivative is 0 except for at most two terms because the m variable are independent except the two cases of identical subscripts. So you can break it down to three cases, one for each of the two boundary conditions and one for the centre. You can then vectorize for the centre and vectorize for each of the two boundary conditions . or perhaps it works out to be four boundary conditions . Small number of them anyhow .

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by