- #1
short circut
- 16
- 0
Ok so here is the problem
I have a 15x15x4001 structure. Basically it is a matrix at 4001 time points.
I want to track one element at a time as a function of time
the problem is that
mystruct(1,1,:)
is being read as a 1x1x4001 structure
I want it to read in as either 4001x1 or 1x4001
How can I do this without making a for loop to convert each one individually?
If MATLAB doesn't have a built in function for this I can make one but it should already have that functionality built in.
I have a 15x15x4001 structure. Basically it is a matrix at 4001 time points.
I want to track one element at a time as a function of time
the problem is that
mystruct(1,1,:)
is being read as a 1x1x4001 structure
I want it to read in as either 4001x1 or 1x4001
How can I do this without making a for loop to convert each one individually?
If MATLAB doesn't have a built in function for this I can make one but it should already have that functionality built in.