Risposto
Increment dates using for loop
Are there any other calculations being done in the loop body of your actual code? If not, this can be done without looping: sam...

oltre 5 anni fa | 0

| accettato

Risposto
Calculate mean of calendarDuration? (i.e. mean of age)
Hi Max, You probably want to calculate the ages of the participants as durations, and mean() is defined for duration. calendarD...

oltre 5 anni fa | 0

Risposto
Reorder table variables / columns
In R2018a, check out the new <https://www.mathworks.com/help/matlab/ref/movevars.html movevars> function for rearranging variabl...

oltre 6 anni fa | 8

Risposto
How to go about grouping, listing and (if user specifies) writing to a file a group of time series objects which are of different lengths (# of rows) and different time bases?
Take a look at the synchronize function for timetables. By default, synchronize(tt1,tt2) will construct a new time table with a ...

oltre 6 anni fa | 1

| accettato

Risposto
Have a string with an analog time value, how to convert it to total time elapsed?
The duration datatype is the correct type to represent this data, and you can plot durations. In R2018a, there is a new capab...

oltre 6 anni fa | 0