Inverse Gradient

버전 1.0.0.0 (1.13 KB) 작성자: Patrick Lu
The inverse function of gradient().
다운로드 수: 2.7K
업데이트 날짜: 2005/6/27

라이선스 없음

INVGRADIENT Basically the opposite of gradient(), aka Inverse Gradient.

F_bar = INVGRADIENT(dFx,dFy) reverses GRADIENT(F), where unit spacing is assumed.

F_bar = INVGRADIENT(dFx,dFy,H), where H is scalar, uses H as the spacing between points.

F_bar = INVGRADIENT(dFx,dFy,Hx,Hy) is basically the same, except that both x- and y-spacings are specified. Obviously, the DC offset of the integrated function is arbitrary. Also,

INVGRADIENT is limited to 2-dimensions at the moment, ie no 3-dimensional matrices, or vectors. If dFx and dFy aren't self-consistent then no exact solution can be integrated. In this case% the optimal solution, in the least squares sense, will be found. So if you do F_bar = INVGRADIENT(dFx,dFy), F_bar will be found such that doing [dFx_ dFy_] = GRADIENT(F_bar) will give you dFx_ and dFy_ that are as close as possible to the original dFx and dFy.

Patrick Lu
April 5, 2005
If this doesn't work right, email patlu@nospam.stanford.edu, w/o the nospam.

인용 양식

Patrick Lu (2024). Inverse Gradient (https://www.mathworks.com/matlabcentral/fileexchange/7906-inverse-gradient), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Biological and Health Sciences에 대해 자세히 알아보기
커뮤니티
 Power Electronics Control 커뮤니티에 더 많은 파일이 있습니다

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0