i have this syntax for getting factorial in my calcu.
x = get(handles.edit1,'String');
y = str2num(x);
z = factorial(y);
my problem is that. i want to do MDAS of factorial. like 5! + 6!. when i click the calcu as it is. it evaluates 5! but when i start to press + and 6!, the value that appears in text1 doesnt seem to be right, although edit1 shows 5! + 6!.