(Please I desperately need help with this problem, even if youcan’t solve it I just want the get

(Please I desperately need help with this problem, even if youcan't solve it I just want the get the idea of this exercise,just include what you got. If youwant, do not use function, justhelp me out with the code to create a signal; the book I'musing is Signal processing first)a)Using Matlab, write an M-file called beat.m that implementsx(t) = Acos( 2π ( fc – fΔ ) t )+ Bcos( 2π ( fc – fΔ )t) and has the following as its first lines:function [xx, tt] =beat(A,B, fc, delf, fsamp, dur)%BEAT compute samples of the sum of twocosine waves
% usage:[xx, tt] = beat(A, B, fc, delf, fsamp, dur)
% A = amplitude of lower frequency cosine
% B = amplitude of higher frequency cosine
% fc = center frequency
% delf = frequency difference
% fsamp = sampling rate
% dur = total time duration in seconds
% xx = output vector of samples
%–Second Output:
% tt = time vector corresponding to xx

Testthe M-file written in part (a) via beatcon byusing the values A=10, B=10, fc=1000,delf=10, fsamp=11025,and dur=1secs. Plot thefirst 0.2 seconds of theresulting signal. Describethe waveform and explain itsproperties.

"Is this question part of your assignment? We can help"


0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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