Symbolic function, gradient and divergence
Versione 2.1 (80 KB) da
Andrea La Spina
Easy definition of arbitrarily sized functions and effective computation of gradient and divergence operators.
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.
Cita come
Andrea La Spina (2025). Symbolic function, gradient and divergence (https://it.mathworks.com/matlabcentral/fileexchange/74251-symbolic-function-gradient-and-divergence), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Calculus in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 2.1 | . |
|
|
| 1.1 | . |
|
|
| 1.0.3 | . |
|
|
| 1.0.2 | . |
|
|
| 1.0.1 | . |
|
|
| 1.0.0 |
|
