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

Mathematica and MatLab Differences

  1. Jan 22, 2009 #1
    I am going thru the same itterations for solving a Matrix in both Mathematica and MatLab. MatLab gives a different answer.

    I am given a matrix:

    [tex]\Gamma^{i}_{jk} or \Gamma(i,j,k)[/tex] that is correct.

    The Equation for the resultant matrix is:

    [tex]R^{i}_{jkl}=\Gamma(i,k,r)*\Gamma(r,j,l)-\Gamma(i,l,r)*\Gamma(r,j,k)+d/dx^{k}\Gamma(i,j,l)-d/dx^{l}\Gamma((i,j,k)[/tex]

    with starting from summing the r then i and j and k and l.

    I am trying to do the same in MatLab as in Mathematica but cannot get them to agree.
     
  2. jcsd
  3. Jan 23, 2009 #2
    I answered it for myself. Matlab didn't simplify the whole way. I needed to use the simple command to simpllify the whole riemann matrix to get the same results as Mathematica.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Mathematica and MatLab Differences
Loading...