So I am doing this in matlab app designer, I have a variable x which changes on every button click, I would like to add every value of x to an array to find the average. Sa