Mathematica and MatLab Differences

  • Context: MATLAB 
  • Thread starter Thread starter Philosophaie
  • Start date Start date
  • Tags Tags
    Mathematica Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
Philosophaie
Messages
456
Reaction score
0
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.
 
Physics news on Phys.org
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.