I have a 821x9 matrix, which corresponsed to 821 time steps with all 9 entries of a 3x3 rotation matrix, in the formatting as follows:
timestep 1, R11 R12 R13 R21 R22 R23 R31 R32 R33
timestep 2, R11 R12 R13 R21 R22 R23 R31 R32 R33
etc...
timestep 821, R11 R12 R13 R21 R22 R23 R31 R32 R33
I want to convert this to a cell, so that I can have each timestep corresond to a single 3x3 rotation matrix.
In the end I want 821 cell entries, each containing a 3x3 rotation matrix like this:
cell entry 1, R11 R12 R13
R21 R22 R23
R31 R32 R33
cell entry 2, R11 R12 R13
R21 R22 R23
R31 R32 R33
etc...
cell entre 821, R11 R12 R13
R21 R22 R23
R31 R32 R33
I have tried using num2cell but have not been successful! Please help me.