Hi,
I've just put a simple worksheet together that will show some of the capability that you want. The image below shows a part of the worksheet. I've only got Mathcad 14, but the general principle should apply to Mathcad Prime if that is what you have (if you have a full version of Mathcad Prime, you should also have a version of Mathcad 15 which will run the attached worksheet directly or convert it to Prime for you).
You can find help on the constructs I've used by searching for determinant, matrix inverse, and index in Help. Alternatively, read the Getting Started and Vectors and Matrices sections of Help. Also look up File Input and File Output, plus the File Access functions (you can save to and read Excel worksheets).
The advantage of Matlab is that it keeps the "code" nearer to the mathematical notation, making it easier to check. If you have an example of Matlab code, then somebody can possibly have a look at doing a like-for-like conversion (given Matlab is also a matrix-based programming language). If you have test data, then that
Stuart