MATLAB: Creating matrixes in .mat file

matrix array

I want to create a .mat file and inside the .mat file, there are variables that represent individual matrices. So lets say in the .mat file I have a, b, c, d. And each a, b, c, d has its own matrix and I can add contents into each matrix. Is there a way to do this? thanks

Best Answer

Yeah Victor. It can be done easily. Please specify matrix a b c and d and then simply create matrix whose elements are a b c d. It works. try it out.