Polar form, MATLAB in Mathematics

Assignment Help:

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


Related Discussions:- Polar form

Plot types - plot functions, Plot types: Besides plot and bar, there a...

Plot types: Besides plot and bar, there are another plot types like stem plots, histograms, stem plots, area plots and pie charts, and also other functions which customize the

Customizing plots, Customizing Plots : There are numerous ways to custo...

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

Program of built-in factorial function, Program of built-in factorial funct...

Program of built-in factorial function: Calling this function yields similar result as the built-in factorial function: >> fact(5) ans =   120 >> factorial(

Creating string variables, Creating string Variables: The string consi...

Creating string Variables: The string consists of a few numbers of characters (including, possibly, none). These are the illustrations of the strings: '' 'x' 'ca

Writing and reading spreadsheet files, Writing and Reading Spreadsheet File...

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

Example of logical built-in functions, Example of Logical built-in function...

Example of Logical built-in functions: For equivalent to all the function, we should make sure that the entire elements in the vector are logically true. The one way of doing

Print an imaginary number, Print an imaginary number: To print an imag...

Print an imaginary number: To print an imaginary number, the function disp will show both parts automatically: >> disp(z1)    4.0000 + 2.0000i The function fprint

Strings as matrix, Strings as matrix: The matrix can be generated, tha...

Strings as matrix: The matrix can be generated, that consists of strings in each row. Therefore, essentially it is created as a column vector of strings, but the final result

Illustration of a recursive function, Illustration of a recursive function:...

Illustration of a recursive function: illustration is of a recursive function which does not return anything, but simply prints. The below function prtwords receives a sentenc

Fprintf function - file function, fprintf function - File function: Th...

fprintf function - File function: The fprintf function really returns the number of bytes which was written to the file, therefore if you do not want to see that number, suppr

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd