Recent content by Chandrasekhar

  1. C

    How to build a random vector perpendicular to another vector in R3

    Thank you very much to all of you for the interesting comments! Inspired by Dr Claude answer I found a very efficent way for doing what I needed. First I do the cross product between K and one of the axis, for example the x-axis = [1,0,0] (but it's the same with any axis), and I obtain a...
  2. C

    How to build a random vector perpendicular to another vector in R3

    (SOLVED) How to build a 3D random vector perpendic. to another vector Hi everybody, do you have an efficient method for build up a vector with random components which is perpendicular to another (unitary) 3D vector ? Context: I have to randomly select polarization vector (P) for...
Back
Top