Python Create Function In Matlab Example