Reputation: 1
I have a 2D matrix of dimensions 64 x 727. What I would like to do is separate each of the columns, creating a 3D matrix of dimensions 64 x 1 x 727.
I have looked through several similar questions on here, but my limited matlab ability is preventing me from applying previous answers to my own issue.
Many thanks,
Robbie
Upvotes: 0
Views: 3753
Reputation: 78306
Try
reshape(matrix,64,1,727)
if that doesn't produce what you want explain further.
Upvotes: 1