I am working with the attached code and data but a single matrix works perfectly but refuses to work on my total matrix data of 231 samples.
Each matrix has a size 1 x 500 and the total matrix data has size 231 x 500.
How can I run this data (231 x 500) in my code without errors like( Horzcat or index matrix exceeds dimensions).
Attached is the one matrix data and the total matrix data.
I will be more than grateful for your support.