Routine mampres: To obtain amplitude response from h(exp(jw)).
input parameters:
h :n dimensioned complex array. the frequency response is stored
in h(0) to h(n-1).
n :the dimension of h and amp.
fs :sampling frequency (Hz).
iamp:If iamp=0: The amplitude Res. amp(k)=abs(h(k))
If iamp=1: The amplitude Res. amp(k)=20.*alog10(abs(h(k))).
output parameters:
amp :n dimensioned real array. the amplitude-frequency response is
stored in amp(0) to amp(n-1).
Note:
this program will generate a data file "filename.dat" .
in chapter 2
This m file analyzes a coherent binary phase shift keyed(BPSK) and a amplitude shift keyed(ASK) communication system. The receiver uses a correlator(mixer-integrator[LPF]) configuration with BER measurements comparing measured and theoretical results. The bandpass and low pass used in the receiver are constructed using z transforms.
We address the problem of blind carrier frequency-offset (CFO) estimation in quadrature amplitude modulation,
phase-shift keying, and pulse amplitude modulation
communications systems.We study the performance of a standard
CFO estimate, which consists of first raising the received signal to
the Mth power, where M is an integer depending on the type and
size of the symbol constellation, and then applying the nonlinear
least squares (NLLS) estimation approach. At low signal-to noise
ratio (SNR), the NLLS method fails to provide an accurate CFO
estimate because of the presence of outliers. In this letter, we derive
an approximate closed-form expression for the outlier probability.
This enables us to predict the mean-square error (MSE) on CFO
estimation for all SNR values. For a given SNR, the new results
also give insight into the minimum number of samples required in
the CFO estimation procedure, in order to ensure that the MSE
on estimation is not significantly affected by the outliers.
This file is a function under matlab which allow to compute and plot amplitude modulation : AM. We can observe the effect of the information parameter can be changed such as amplitude and modulation ratio m.