Menu

[Solved]Bc 113 Data Problem Found Carmen Site Homework Homework 11 Data Saved File Directory Use M Q37107492

BC:11.3 The data for this problem can be found on the Carmen site under Homework-Homework 11 Data and should be saved as a fispectrumXs vs frequency in Hz, and (ii) the c.) Define a Matlab representation of filter func- imaginary part of the spectrumBC:11.3 The data for this problem can be found on the Carmen site under Homework-Homework 11 Data and should be saved as a file to your own directory where you use Matlab. Once in your directory, the data can be loaded into atlab using the commands: load (‘prob11 3.mat’) This will generate a signal vector, xs, that has N – 56. This represents the sampled data of a periodic unction with sampling period Δ 0.0032 seconds. a.) Use Matlab to (i) plot the time function as ver- sus time in seconds, (ii) plot the real part of the spectrumXs vs frequency in Hz, and (ii) the c.) Define a Matlab representation of filter func- imaginary part of the spectrum vs frequency in Hz. From the spectral samples, determine if there is a de component, and identify the fre- quency in Hz of any cosines or sines in the time signal given tion that has sampled spectral properties: (k+701-uk-71] = rect (T40) This is another ideal low pass filter. Determine the range of frequencies that are nonzero for this filter ) Define a Matlab representation of filter func- tion that has sampled spectral properties: Define a product Y2[k X,[k H2[k] and show plots of (i) your H2 vs frequency in Hz, (ii) the real part of Y2 vs frequency in Hz, (ii) the imag- inary part of Y2 vs frequency in Hz, and (iv) the filtered time signal, y2 vs time in seconds. Compare the spectra of Y2 and the original X, and comment on any differences or similarities Compare the time signals y2 with the original r, and comment on any differences or similari- Hi [k] = uk + 85] _ uk-86] = rect 170 This is an ideal low pass filter. Determine the range of frequencies that are nonzero for this fil ter. [Note you need to use Modulo 256 counting to represent the negative k values of this filter Also note that Matlab does not allow an inder for a vector to be zero or a negative integer ties Define a product Yi [k] = Xs[k].HIk] and show plots of (i) your Hi vs frequency in Hz, (ii) the real part of Yİ vs frequency in Hz, (iii) the mag- inary part of Yi vs frequency in Hz, and (iv) the filtered time signal, y vs time in seconds Compare the spectra of Yi and the original X and comment on any differences or similarities. Compare the time signals yi with the original rs and comment on any differences or similari- ties. d.) Define a Matlab representation of filter func- tion that has sampled spectral properties: 60 This is another ideal low pass filter. Determine the range of frequencies that are nonzero for this filter Define a product Y3k] X, [k] H3[k] and show plots of (i) your Hs vs frequency in Hz, (ii) the real part of Ys vs frequency in Hz, the (iii) imag- inary part of Y3 vs frequency in Hz, and (iv) the filtered time signal, U3 vs time in seconds. Compare the spectra of Ys and the original X and comment on any differences or similarities. Compare the time signals ys with the original r, and comment on any differences or similari- ties. Attach your Matlab source code for credit. Show transcribed image text BC:11.3 The data for this problem can be found on the Carmen site under Homework-Homework 11 Data and should be saved as a file to your own directory where you use Matlab. Once in your directory, the data can be loaded into atlab using the commands: load (‘prob11 3.mat’) This will generate a signal vector, xs, that has N – 56. This represents the sampled data of a periodic unction with sampling period Δ 0.0032 seconds. a.) Use Matlab to (i) plot the time function as ver- sus time in seconds, (ii) plot the real part of the
spectrumXs vs frequency in Hz, and (ii) the c.) Define a Matlab representation of filter func- imaginary part of the spectrum vs frequency in Hz. From the spectral samples, determine if there is a de component, and identify the fre- quency in Hz of any cosines or sines in the time signal given tion that has sampled spectral properties: (k+701-uk-71] = rect (T40) This is another ideal low pass filter. Determine the range of frequencies that are nonzero for this filter ) Define a Matlab representation of filter func- tion that has sampled spectral properties: Define a product Y2[k X,[k H2[k] and show plots of (i) your H2 vs frequency in Hz, (ii) the real part of Y2 vs frequency in Hz, (ii) the imag- inary part of Y2 vs frequency in Hz, and (iv) the filtered time signal, y2 vs time in seconds. Compare the spectra of Y2 and the original X, and comment on any differences or similarities Compare the time signals y2 with the original r, and comment on any differences or similari- Hi [k] = uk + 85] _ uk-86] = rect 170 This is an ideal low pass filter. Determine the range of frequencies that are nonzero for this fil ter. [Note you need to use Modulo 256 counting to represent the negative k values of this filter Also note that Matlab does not allow an inder for a vector to be zero or a negative integer ties Define a product Yi [k] = Xs[k].HIk] and show plots of (i) your Hi vs frequency in Hz, (ii) the real part of Yİ vs frequency in Hz, (iii) the mag- inary part of Yi vs frequency in Hz, and (iv) the filtered time signal, y vs time in seconds Compare the spectra of Yi and the original X and comment on any differences or similarities. Compare the time signals yi with the original rs and comment on any differences or similari- ties. d.) Define a Matlab representation of filter func- tion that has sampled spectral properties: 60 This is another ideal low pass filter. Determine the range of frequencies that are nonzero for this filter Define a product Y3k] X, [k] H3[k] and show plots of (i) your Hs vs frequency in Hz, (ii) the real part of Ys vs frequency in Hz, the (iii) imag- inary part of Y3 vs frequency in Hz, and (iv) the filtered time signal, U3 vs time in seconds. Compare the spectra of Ys and the original X and comment on any differences or similarities. Compare the time signals ys with the original r, and comment on any differences or similari- ties. Attach your Matlab source code for credit.

Expert Answer


Answer to BC:11.3 The data for this problem can be found on the Carmen site under Homework-Homework 11 Data and should be saved as… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *