cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Vectorization

NA_11204287
8-Gravel

Vectorization

Hi all, does anyone knows why there's 'i' in the results of the last equation?

NA_11204287_0-1726664487770.png

Regards,

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:NA_11204287)

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.

Werner_E_1-1726666147260.png

 

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:NA_11204287)

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.

Werner_E_1-1726666147260.png

 

 

now i understand why. Thank you so much!!!

Announcements

Top Tags