









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Electromagnetic Field
(Lecturer) June, 2020
Bear in mind that the concepts demonstrated in Cartesian coordinates are equally applicable to other systems of coordinates For example , the procedure for finding dot or cross product of two vectors in a cylindrical system is the same as that used in the Cartesian system Sometimes, it is necessary to transform points and vectors from one coordinate system to another The techniques for doing this will be presented and illustrated with examples Coordinate Systems Coordinate Systems
A vector A in Cartesian (also known as rectangular) coordinates can be written as: where a (^) x , a , and a are unit vectors along the x-, y-, and z-directions y z Cartesian Coordinates (X,Y,Z) Coordinate Systems
The ranges of the variables are: A vector A in cylindrical coordinates can be written as: where a , a ρ Φ , and^ az^ are unit vectors in the^ ρ ,^ Φ^ and^ z^ directions For example, if a force of 10 N acts on a particle in a circular motion, the force may be represented as F = 10 a (^) Φ N The magnitude of A is: Cylindrical Coordinates (ρ, Φ,z ) Cylindrical Coordinates (ρ, Φ,z )
Notice that the unit vectors aρ , a Φ , and a are mutually perpendicular z because our coordinate systems are orthogonal a (^) ρ points in the direction of increasing ρ, a Φ in the direction of increasing Φ , and a in the positive z-direction, so we have: z Cylindrical Coordinates (ρ, Φ,z ) Cylindrical Coordinates (ρ, Φ,z )
For transforming a point from Cartesian ( x, y, z ) to Cylindrical ( ρ, Φ, z ) coordinates: For transforming a point from Cylindrical ( ρ, Φ, z ) to Cartesian ( x, y, z ) coordinates: Point Transformations Point Transformations
The transformations may be written in matrix form as: AND Vector Transformations Unit Vector Transformations
Commands Needed 1) clear^ = clear all variables and functions from memory. 2) clf = clear current figures 3) cla = clear current axis 4) hold = hold current graph 5) subplot = subplot(m,n,p), or subplot(mnp), breaks the Figure window into an m-by-n matrix of small axes, selects the p-th axes for the current plot 6) xlabel & ylable = for labelling axis 7) fplot(FUN,LIMS)^ = plots the function FUN between the x-axis limits specified by LIMS = [XMIN XMAX].
MATLAB Section Unit Vector Transformations