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
Concatenation: The String concatenation means to join the strings altogether. Of course, as strings are merely vectors of the characters, the technique of concatenating vector

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

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

Function isreal - complex numbers: The function isreal returns 1 for logical true when there is no imaginary part of the argument, or 0 for false when the argument does have a

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

Counting in a While Loop: Whenever it is not known ahead of the time how many values will be entered into the script, it is often essential to count the number of values which

Standard Deviation The standard deviation is the square root of variance: The built-in function in a MATLAB for the standard deviation is known as std; the standard dev

Illustration of Minimum and Maximum Value Both of these functions also return the index of the minimum or maximum value; when there is more than one occurrence, it returns the

Customizing Plots : There are numerous ways to customize figures in the Figure Window. On clicking the Plot Tools icon will bring up the Property Editor & Plot Browser, with ma

Complex numbers: A complex number is commonly written in the form z = a + bi here a is known as the real part of the number z, b be the imaginary part of z, and i is √-1