Separation of real & Imaginary Part

Status
Not open for further replies.

arijit2012

Newbie level 1
Joined
Jul 12, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
Hi,

I am facing a problem during separation of real & imaginary part of a complex number. Actually I tried to solve this through MATLAB programming but unable to do this. The function is given below.
y=sqrt((-16)+(i*0.6)-2.23*(sin(x))^2)

Is it possible to separate this function in a+ib form. Either through MATLAB or manually.

Please help me to way out of this.

With Thanks
 

I think you could be interested in the following article that explains how to find the square root of a complex number:

**broken link removed**
 

........
Is it possible to separate this function in a+ib form. Either through MATLAB or manually.

M = sqrt(sqrt((16+2.23*sin(x)^2)^2 + 0.6^2)) ;
Theta = atan2( 0.6 , -(16+2.23*sin(x)^2))/2 ;

a = M*cos(Theta)
b = M*sin(Theta)
 

Re: Separation of real & Imaginary Part

yup obviously

- - - Updated - - -

x is treated as a real no
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…