Fs = 10000; % sampling frequency 10 kHz
t  = [0 : 1/Fs : 0.2];  % time axis
y  = cos(2 * pi * 200 * t);
plot(t, y);
title('My cosine');
xlabel('time (seconds)');
grid on;
soundsc(y, Fs);       % listen to the signal!