I need help! My purpose is to develop in MATLAB a routine that, starting from a series of actions (modeled by a label, a mean value and a variance), is able to generate an array of activity. I explain better with my code:
action_awake_in_bed = [1 5*60 1*60];
action_out_of_bed = [3 30 10];
action_out_bedroom = [2 2*60 15];
ACTIVITY_WAKE = {'action_awake_in_bed','action_out_of_bed','action_out_bedroom'};
The first element of action array is a label (a posture label), the second element is the length of the action (in seconds), the third element the variance.
I need as output the array ACTIVITY_WAKE....
Thanks
[1 2 3]with the amount of each label is distributed with a different mean and variance?