06-21-2012 10:29 AM
i have real &imaginary values sperated by comma . each 2 values represent 1 point i want to get magnitude and phase of each point individually??
ex. 23,46 (represent one point as 23+46i)
10,12(as 10+12i)
thanks
06-21-2012 10:38 AM
Where are you having problems? Can you not get the Real and Imaginary parts out? Having trouble calculating the Magnitude and Phase? Show us what you have tried and good representation of the data you are receiving.
06-21-2012 11:14 AM
06-21-2012 11:17 AM
1.00373363495E+00,-2.81245142221E-01,-2.47617978603E-02,-1.17851829529E+00
1.00373363495E+00 is real of first point
-2.81245142221E-01 is imaginary of first point
i want to identify this as one point?
i want to get magnitude and phase of this point to draw it?
06-21-2012 11:58 AM
As mentioned in your other thread, please give less useless titles for threads, and not "hi" or the like.
06-21-2012 12:02 PM
As with his other thread, no attempt to write any code. Freeloading, I suppose.
06-21-2012 12:48 PM
@oiuuhjoi wrote:
1.00373363495E+00,-2.81245142221E-01,-2.47617978603E-02,-1.17851829529E+00
1.00373363495E+00 is real of first point
-2.81245142221E-01 is imaginary of first point
i want to identify this as one point?
i want to get magnitude and phase of this point to draw it?
I would start with the Spreadsheet String to Array (found in the String pallet) with a comma as the delimeter to create a 1D array of strings. From there, convert all of the strings into numbers, reshape the array into a 2D array (each row should contain 2 items). Then you can use a simple for loop with autoindexing and there's a nice primitive in the Numeric->Complex pallet to convert from Real/Imaginary into Polar form. Give it a try. If you get stuck, show us how far you made it and what part you can't figure out.
06-21-2012 01:07 PM
@elset191 wrote:
As mentioned in your other thread, please give less useless titles for threads, and not "hi" or the like.
A descriptive title also makes it likely that you will get valid results from the search you must make before you post. Unless you're too lazy to look through them of course.
06-22-2012 04:29 AM
Try this...
06-26-2012 05:00 AM
I convert to 2D array.
now, how i can make it real and imaginary ??
26+49i
81+93i
thats what i want to get ?