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

Mathematica to solve a few NxN matrices

  1. Sep 14, 2004 #1
    Hi All,
    I'm using mathematica to solve a few NxN matrices, but the eigen(values/vectors) comes back with 0. i, which is zero but how do I evaluate it as zero so that I can do comparison, > < =, etc... Thanks

    JMD
     
  2. jcsd
  3. Sep 14, 2004 #2

    enigma

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I don't know exactly how to do it in mathematica, but I think you could filter out the real component and compare that.
     
  4. Sep 14, 2004 #3

    vanesch

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member


    Use Chop[] !

    cheers,
    Patrick
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Mathematica to solve a few NxN matrices
Loading...