Create Array Using For Loop In Matlab Example