shuffling elements between two matrices
Show older comments
Hi all,
I have two signals meg1 and meg2: [3 x 1801 x 53] and [3 x 1801 x 60] type meeg. I can easily split them into three arrays of : 1 x 1801 x 53 type double. But what I need to do is to make both meg signals as random as possible so preferebly shuffle the elements between them two like n times. I tried to do it just within each matrix with function randswap http://www.mathworks.co.uk/matlabcentral/fileexchange/12621-randswap but it gives an error for elements type double. Has anyone got any idea how to do it? Would be veeeery grateful!!
Many thanks in advance, Lidia
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!