Standup Matlab Code