Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Alfy
 
Posts: n/a
Default convert from rectangualr to polar


I have a list of data in rectangular form (a+bi) and need to convert it
to polar form (a/_b) in order to find the magnitude. The phase angle
doesnt matter much just really need the magnitude. Any help on
achieving this would be of great help.
thanks;
Alfy


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default convert from rectangualr to polar

On Wed, 1 Mar 2006 14:23:25 -0600, Alfy wrote:

I have a list of data in rectangular form (a+bi) and need to convert it
to polar form (a/_b) in order to find the magnitude. The phase angle
doesnt matter much just really need the magnitude. Any help on
achieving this would be of great help.
thanks;
Alfy


---------------------------------

Here's the math: http://home.alltel.net/okrebs/page111.html

Bill
  #3   Report Post  
Posted to microsoft.public.excel.misc
Alfy
 
Posts: n/a
Default convert from rectangualr to polar


in order to find the magnitude of the rect. form its just:
sqrt(a^2+b^2)
what i have is a form like a+bi so is there a way to apply formula to
the numbers? or possibly seperate a and b into seperate columns and go
from there?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977

  #4   Report Post  
Posted to microsoft.public.excel.misc
Alfy
 
Posts: n/a
Default convert from rectangualr to polar


is there a way to implement the formula to do the conversion in excel? I
have 2500 expressions( 5 sheets) = 12500 times i would i have to do it
manually. only need the magnitude from the rectangular form, so
r^2=a^2+b^2 where what i need is "r".


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977

  #5   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default convert from rectangualr to polar

You can use data text to columns to extract the data (use + as the
delimiter). You can then use find and replace to delete the i in the second
column.

"Alfy" wrote:


in order to find the magnitude of the rect. form its just:
sqrt(a^2+b^2)
what i have is a form like a+bi so is there a way to apply formula to
the numbers? or possibly seperate a and b into seperate columns and go
from there?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977




  #6   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default convert from rectangualr to polar

Hi,

If the data are in the format "a+bi" (e.g., 1.2+2.1i), try the following
formula (it is written for the contents of A1).

=SQRT(LEFT(A1,FIND("+",A1)-1)^2+RIGHT(LEFT(A1,LEN(A1)-1),LEN(A1)-FIND("+",A1)-1)^2)

Regards,
B. R. Ramachandran

"Alfy" wrote:


in order to find the magnitude of the rect. form its just:
sqrt(a^2+b^2)
what i have is a form like a+bi so is there a way to apply formula to
the numbers? or possibly seperate a and b into seperate columns and go
from there?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977


  #7   Report Post  
Posted to microsoft.public.excel.misc
Alfy
 
Posts: n/a
Default convert from rectangualr to polar


thanks! it seems to work, and i assume just change "+" to "-" when its
being subtracted...only what would you have to do if the first number
is negative?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977

  #8   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default convert from rectangualr to polar

Hi,

Try this much simpler formula.

=SQRT(IMREAL(A1)^2+IMAGINARY(A1)^2)

It should work for positive as well as negative real and imaginary components.

Regards,
B. R. Ramachandran

"Alfy" wrote:


thanks! it seems to work, and i assume just change "+" to "-" when its
being subtracted...only what would you have to do if the first number
is negative?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977


  #9   Report Post  
Posted to microsoft.public.excel.misc
Alfy
 
Posts: n/a
Default convert from rectangualr to polar


thanks! :)


--
Alfy
------------------------------------------------------------------------
Alfy's Profile: http://www.excelforum.com/member.php...o&userid=32049
View this thread: http://www.excelforum.com/showthread...hreadid=517977

  #10   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis
 
Posts: n/a
Default convert from rectangualr to polar

=SQRT(LEFT(A1,FIND("+",A1)-1)^2+RIGHT(LEFT(A1,LEN(A1)-1),LEN(A1)-FIND("+",A1)-1)^2)

Just to add...

=IMABS(A1)

will do the same thing.
--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"B. R.Ramachandran" wrote in
message ...
Hi,

If the data are in the format "a+bi" (e.g., 1.2+2.1i), try the following
formula (it is written for the contents of A1).

=SQRT(LEFT(A1,FIND("+",A1)-1)^2+RIGHT(LEFT(A1,LEN(A1)-1),LEN(A1)-FIND("+",A1)-1)^2)

Regards,
B. R. Ramachandran

"Alfy" wrote:


in order to find the magnitude of the rect. form its just:
sqrt(a^2+b^2)
what i have is a form like a+bi so is there a way to apply formula to
the numbers? or possibly seperate a and b into seperate columns and go
from there?


--
Alfy
------------------------------------------------------------------------
Alfy's Profile:
http://www.excelforum.com/member.php...o&userid=32049
View this thread:
http://www.excelforum.com/showthread...hreadid=517977




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert displayed number to absolute value jmorris305 Excel Discussion (Misc queries) 3 February 28th 06 01:27 AM
Convert decimal degree (lattitude/longitude) into Degree, Tim Ashcom Excel Discussion (Misc queries) 5 August 17th 05 04:53 PM
CONVERT Function Disappered in Excel Gord Dibben Excel Discussion (Misc queries) 3 April 13th 05 07:59 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM


All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"