結果 : create function in script matlab