poisson_sym(V,X,coordinate_system)
This Function calculates the double derivative (Poisson's Equation) of the 3D symbolic vector in Cartesian, Cylindrical, and Spherical coordinate system.
function poissonSym = poisson_sym(V,X,coordinate_system)
V is the 3D symbolic vector field
X is the parameter which the divergence will calculate with respect to.
coordinate_system is the kind of coordinate system at which the vector field is specified.
The Poisson's Equation is calculated according to (Engineering Electromagnetics Sixth Edition William H. Hayt, Jr. . John A. Buck)
Example (1):
V=4*y*z/(x^2+1)
Del_2_V=poisson_sym(V,[x y z],'Cartesian')
Example (2):
V=5*rho^2*cos(2*phi)
Del_2_V=poisson_sym(V,[rho phi z],'Cylindrical')
Example (3):
V=2*cos(phi)/r^2;
Del_2_V=poisson_sym(V,[r theta phi],'Spherical')
引用格式
mohamed fekry (2025). poisson_sym(V,X,coordinate_system) (https://www.mathworks.com/matlabcentral/fileexchange/66691-poisson_sym-v-x-coordinate_system), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Electromagnetics >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |