MATLAB : How to use Vector Operations in MATLAB