MATLAB : How to use Trigonometric Functions in MATLAB