Shell Script Loop Through Array Matlab Onramp