Create Array Using For Loop In Matlab Syntax For Functions