I’ve a mat file which when loaded gives me something like this:
train0:[1200×300]
train1:[1450×300]
.
.
.
.
.
.
trainN:[Nx300]
what I want to do is traverse over each matrices in a manner like train+”i” where i = 0 to N
and create a NX1 matrix with value of i. Here N will be the number of rows in each of the train matrices.
try loading the file into a sturct
A more complicated method might be:
Anyhow, loading the mat file into a struct allows you to manipulate all loaded matrices as struct fields.