it is easier to write a function of your own like this:
function y=mycos(x);
y=cos(x/180*pi);
Since cos is a built-in function that you cannot change its source code, another way may be to name the function above as cos and put it in your "work" folder, generally the m file with the same name in the work folder will be called first.