Reading data .mat files and merge them

For the first error, it would be better to see the code that produced it.

For the second one, try float. (not the ., for broadcasting).