PDA

View Full Version : Merging matrix into a table - Matlab question


nb89
Dec29-10, 07:46 AM
I have a variable called 'Node' which has a 1x5 structure and each of the 5 cells is made up of other variables.
I now have a 1x5 matrix as a completely seperate variable. I am trying to merge the two together, so that in cell 1 of the Node variable, i have the 1x1 value of the matrix, in cell 2 of the Node variable i have the 1x2 value of the matrix and so on.

At the moment all i can manage to do is get the whole matrix in each of the cells of the Node variable.

Hopefully i have made sense!

Thanks for any help.

nb89
Dec29-10, 08:44 AM
Actually don't worry, i've done it now :D