Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all, does anyone knows why there's 'i' in the results of the last equation?
Regards,
Solved! Go to Solution.
i is the imaginary unit (i^2 = -1).
You are getting non-real results because you take the square root of negative numbers.
Maybe you should use the absolute value on f.bu.Top ?
P.S.: 'Problem' has nothing to do with vectorization, but if you will use the absolute value, you must use vectorization as otherwise you will get the length of the vector and not the absolute value of each of its elements.
i is the imaginary unit (i^2 = -1).
You are getting non-real results because you take the square root of negative numbers.
Maybe you should use the absolute value on f.bu.Top ?
P.S.: 'Problem' has nothing to do with vectorization, but if you will use the absolute value, you must use vectorization as otherwise you will get the length of the vector and not the absolute value of each of its elements.
now i understand why. Thank you so much!!!