Symbolic function, gradient and divergence

버전 2.1 (80 KB) 작성자: Andrea La Spina
Easy definition of arbitrarily sized functions and effective computation of gradient and divergence operators.
다운로드 수: 435
업데이트 날짜: 2021/10/13

라이선스 보기

The function "mysym.m" allows an easy definition of a n x m symbolic vectorial function of k variables.
Example: u=mysym('u',[2,1],[x,y])
The function "mygradient.m" allows an easy computation of the gradient.
Example: grad_u=mygradient(u,[x,y])
The function "mydivergence.m" allows an easy computation of the divergence.
Example: div_u=mydivergence(u,[x,y])
(x and y must be defined as symbolic variables)
The Live Script "examples.mlx" presents a series of useful examples.
If you like the functions, please give feedback.

인용 양식

Andrea La Spina (2024). Symbolic function, gradient and divergence (https://www.mathworks.com/matlabcentral/fileexchange/74251-symbolic-function-gradient-and-divergence), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

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

.

1.1

.

1.0.3

.

1.0.2

.

1.0.1

.

1.0.0