### please i desperately need help with this problem even if youcan 39 t solve it i jus 3544909

(Please I desperately need help with this problem, even if youcan&#39;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&#39;musing is Signal processing first)a)Using Matlab, write an M-file called beat.m that implements
x(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.