Matlab Replace String With Poly Cutting