Cleveland Clinic Interview Question

Code a simple sin wave with amplitude x and period y in Matlab.