Polar form, MATLAB in Mathematics

Polar Form:

Any complex number z = a + bi can be thought of as a point (a,b) or vector in the complex plane in which the horizontal axis is the real part of z, and the vertical axis is an imaginary part of z. Therefore, a and b are the Cartesian or rectangular coordinates. As a vector can be presented by either it's rectangular or polar coordinates, a complex number can be given also by its polar coordinates r and θ, here r is the magnitude of the vector and θ is an angle.

To convert from the polar coordinates into the rectangular coordinates:

a = r cos θ

b = r sin θ

To convert from the rectangular into polar coordinates:

1607_polor form.png

Therefore, a complex number z = a + bi can be written as r cos θ + (r sin θ )i, or z = r (cos θ  + i sin θ )

As ei θ = cos θ + i sin θ , a complex number can also be written as z = rei θ. In MATLAB, r can be found by using the abs function, and there is a special built-in function to find θ, known as angle.

>> z1 = 3 + 4i;

r = abs(z1)

r =

   5

>> theta = angle(z1)

theta =

   0.9273

>> r*exp(i*theta)

ans =

   3.0000 + 4.0000i

Posted Date: 10/22/2012 8:56:23 AM | Location : United States







Related Discussions:- Polar form, Assignment Help, Ask Question on Polar form, Get Answer, Expert's Help, Polar form Discussions

Write discussion on Polar form
Your posts are moderated
Related Questions
Writing and Reading Spreadsheet Files: The MATLAB functions xlswrite & xlsread will write to and read from the spreadsheet files which have the extension .xls. For illustratio

Using Functions with the Vectors and Matrices: As MATLAB is written to work with the vectors and matrices, the whole vector or matrix can be passed as an argument to the funct

Function xlsread - file function: The function xlsread will read from the spreadsheet file. For illustration, to read from file just generated: >> ssnums = xlsread('ranexc

how can reconstruct just part of an image using imreconstruct?

Structure Consisting of the Fields A MATLAB can also solve the sets of equations. In this illustration, the solutions for x, y, & z are returned as a structure consisting of th

5 p2+8p+15, 3 p2-3p-18, 12 p2-p-30

Strings as Vectors: The Strings are considered as vectors of characters-or in another words, a vector in which each and every element is a single character-so numerous vector

Pie chart - plot functions: The MATLAB also has a function pie which will generate a pie chart. Calling the function with the form pie (vec) draws a pie chart, by using the pe

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th

Function fopen - file function: The permission string in the call to the fopen function identifies that the file is opened for writing to it. Just as when reading from a file,