1KHz Sine Wave | Sound generation in MATLAB

t=0:1/22050:2*pi;
x=sin(2*pi*1000*t);
sound(x,22050);

No comments