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

We are troubleshooting an issue impacting community login, and it may be intermittently unavailable. Sorry for any inconvenience.

Vectorization

NA_11204287
4-Participant

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

 

 

NA_11204287
4-Participant
(To:Werner_E)

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

Announcements

Top Tags