my tank modeling matlab code