Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Generating square vector field

  1. Nov 3, 2013 #1
    Hi all, my friend is writing a sci-fi/fantasy book and for it he asked me for a function that generates a vector field like picture A. So far the closest I've got is i*-(1/x)+1/-yj, which generates B. How would I generate B without using conditions? any help appreciated, thanks.
     

    Attached Files:

    • A.jpg
      A.jpg
      File size:
      44 KB
      Views:
      86
    • B.png
      B.png
      File size:
      510 bytes
      Views:
      65
  2. jcsd
  3. Nov 3, 2013 #2
    Is it even possible?
     
  4. Nov 3, 2013 #3
    By generate do you mean, does there exist a scalar function such that the gradient of this scalar function is the given vector field?
     
  5. Nov 3, 2013 #4
  6. Nov 9, 2013 #5
    *bump*
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Generating square vector field
  1. Squaring a vector? (Replies: 3)

  2. Normal vector fields (Replies: 2)

Loading...