Yes, if you are looking to evaluate the sine function at particular points, then export that data to an Excel spreadsheet, you can do all that in MATLAB. For a very basic example:
x = linspace(0, 2*pi, 100);
y = sin(x);
If you have an older verison of MATLAB, you may want to use xlswrite instead of writematrix. You can modify the input datapoints to the sine function by changing how you define x, and even do degrees as units if you use "sind" instead of "sin". You can also modify where and how the data is written to the Excel file by adding options to writematrix.