Mathematica and MatLab Differences

1. Jan 22, 2009

Philosophaie

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:

$$\Gamma^{i}_{jk} or \Gamma(i,j,k)$$ that is correct.

The Equation for the resultant matrix is:

$$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)$$

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. Jan 23, 2009

Philosophaie

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.