Please make an attempt and post it. Then we can comment on it and offer suggestions or corrections.
If you don't know how to multiply a matrix by itself in MATLAB, you have absolutely no hope of writing a Gaussian elimination routine. You should start reading the beginning tutorials in the MATLAB help documentation.
