MATLAB: How is’t possible that i can hear a sound has a 35KHZ frequency when using function Sound

audiofrequencysound

f=350000;
t=0:1/8000:2;
x=sin(2*pi*f*t);
sound(x);

Best Answer

sound(x, f);
The default is 8192 hertz.