Question: How to automatically create .mla files?

Hello everyone,

I have to store real-number matrixes into .mla files. Usually, I do it by using “save”, namely:

save Hi, “Hi.mla”

where i denotes is the i-th matrix I want to save. The problem is, I have to write manually :

save H1, “H1.mla” :

save H2, “H2.mla” :

and so on. This is not convenient as the number of matrixes to save is huge. Also, it does not work writing:

for i from 1 to n do

save H[i], “H[i].mla”

od

Any idea of what could be done? Thank you in advance.

Please Wait...