matlab code for math operations project