結果 : declare function in script matlab