curl_sym(V,X,coordi​nate_system)

This Function calculate the curl of 3D symbolic vector field
397 descargas
Actualizado 1 mar 2018

Ver licencia

This Function calculates the curl of the 3D symbolic vector in Cartesian, Cylindrical, and Spherical coordinate system.
function CurlSym = curl_sym(V,X,coordinate_system)
V is the 3D symbolic vector field
X is the parameter which the curl will calculate with respect to.
coordinate_system is the kind of coordinate system at which the vector field is specified.
the curl is calculated according to (Engineering Electromagnetics Sixth Edition William H. Hayt, Jr. . John A. Buck)
Example (1):
H=[2*y^2*z 3*(x+1)*y*z -(x+2)*z^2]
Cu=curl_sym(H,[x,y,z],'Cartesian')
Example (2):
H=[3*rho*cos(phi),-5*rho*sin(phi),4]
Cu=curl_sym(H,[rho,phi,z],'Cylindrical')
Example (3):
H=[2*r*cos(theta),-3*r*sin(theta),0]
Cu=curl_sym(H,[r,theta,phi],'Spherical')

Citar como

mohamed fekry (2024). curl_sym(V,X,coordinate_system) (https://www.mathworks.com/matlabcentral/fileexchange/66265-curl_sym-v-x-coordinate_system), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Linear Algebra en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0