# 0.5 Sampling with automatic gain control  (Page 19/19)

 Page 19 / 19

This figure was generated using the following code:

n=50000;                           % number of steps in simulation r=randn(n,1);                      % generate raw random inputsenv=0.75+abs(sin(2*pi*[1:n]'/n));  % the fading profiler=r.*env;                          % apply profile to raw input r[k] ds=0.5;                            % desired power of output = d^2a=zeros(1,n); a(1)=1;              % initialize AGC parameter s=zeros(1,n);                      % initialize outputsmu=0.01;                           % algorithm stepsize for k=1:n-1  s(k)=a(k)*r(k);                  % normalize by a(k) to get s[k]   a(k+1)=a(k)-mu*(s(k)^2-ds);      % adaptive update of a(k)end agcvsfading.m compensating for fading with an AGC (download file) 

The “fading profile” defined by the vector env is slow compared with the rate at which the adaptive gain moves, which allows the gain to track the changes. Also, the

power of the input never dies away completely. The problemsthat follow ask you to investigate what happens in more extreme situations.

Mimic the code in agcvsfading.m to investigate what happens when the input signal diesaway. (Try removing the abs command from the fading profile variable.) Can you explain what you see?

Mimic the code in agcvsfading.m to investigate what happens when the power of the input signalvaries rapidly. What happens if the sign of the gain estimate is incorrect?

## Summary

Sampling transforms a continuous-time analog signal into a discrete-time digital signal. In the time domain, thiscan be viewed as a multiplication by a train of pulses. In the frequency domain this corresponds to a replication ofthe spectrum. As long as the sampling rate is fast enough that the replicated spectra do not overlap, the samplingprocess is reversible; that is, the original analog signal can be reconstructed from the samples.

An AGC can be used to make sure that the power of the analog signal remains in the region where the sampling deviceoperates effectively. The same AGC, when adaptive, can also provide a protection against signal fades. The AGC can be designedusing a steepest descent (optimization) algorithm that updates the adaptive parameter by moving in thedirection of the negative of the derivative. This steepest descent approach to the solutionof optimization problems will be used throughout Software Receiver Design .

Details about resampling procedures are available in the published works of

• Smith, J. O. “Bandlimited interpolation—interpretation and algorithm,” 1993,

which is available at his website at http://ccrma-www.stanford.edu/ $\stackrel{˜}{}$ jos/resample/.

A general introduction to adaptive algorithms centered around the steepest descent approach can be found in

• B. Widrow and S. D. Stearns, Adaptive Signal Processing, Prentice-Hall, 1985.

One of our favorite discussions of adaptive methods is

• C. R. Johnson Jr., Lectures on Adaptive Parameter Estimation, Prentice-Hall, 1988.

This whole book can be found in .pdf form on the website accompanying this book.

how can chip be made from sand
are nano particles real
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
no can't
Lohitha
where we get a research paper on Nano chemistry....?
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!