Knowee
Questions
Features
Study Tools

For the following:f=.5e3;fs=44.1e3;Ts=1/fs;tlen=.5;t=0:Ts:tlen − Ts;x=sin(2*pi*f*t);sound(x,fs)plot(t,x)xlabel('time, s')ylabel('amplitude, arbitary units')axis([0 1/f*10 − 1 1])What is fs?

Question

For the following:f=.5e3;fs=44.1e3;Ts=1/fs;tlen=.5;t=0:Ts:tlen − Ts;x=sin(2pift);sound(x,fs)plot(t,x)xlabel('time, s')ylabel('amplitude, arbitary units')axis([0 1/f10 − 1 1])What is fs?

🧐 Not the exact question you are looking for?Go ask a question

Solution

In the given code, fs is the sampling frequency. It is defined as fs=44.1e3, which means fs is 44.1 kilohertz (kHz).

Similar Questions

For the following code:fs=12e3;Ts=1/fs;tlen=1.5;t=0:Ts:tlen − Ts;fmin=0.1e3;fmax=3e3;fstep=(fmax − fmin)/length(t);f=fmin:fstep:fmax − fstep;x=sin(2*pi*f.*t);sound(x,fs)plot(t,x)xlabel('time, s')ylabel('amplitude, arbitary units')axis([0 1/fmin*5 − 1 1])

or the following code:fs=18.28e3;Ts=1/fs;tlen=4.2;t=0:Ts:tlen − Ts;fmin=0.1e3;fmax=3e3;fstep=(fmax − fmin)/length(t);f=fmin:fstep:fmax − fstep;x=sin(2*pi*f.*t);sound(x,fs)plot(t,x)xlabel('time, s')ylabel('amplitude, arbitary units')axis([0 1/fmin*5 − 1 1])

For the following, drag and drop the statements to the correct lines: Blank 1 Question 1 Blank 2 Question 1f=.5e3;tlen=.5; Blank 3 Question 1 Blank 4 Question 1sound(x,fs) Blank 5 Question 1xlabel('time, s')ylabel('amplitude, arbitary units')axis([0 1/f*10 − 1 1])t=0:Ts:tlen − Ts; Ts=1/fs; x=sin(2*pi*f*t); fs=44.1e3; plot(t,x)

The time period of a sound wave is 0.020 s. What is its frequency?

. What are wavelength, frequency, time period and amplitude of a sound wave ?

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.