# Lab 5: prelab

 Page 1 / 1
Students fill in missing lines of code to create a Matlab simulation of a four-symbol frequency shift keying (FSK) transmitter. Students are encouraged to change the symbol period and observe the change in the transmitted signal's spectrum.

## Prelab: matlab preparation

We have made considerable use of Matlab in previous labs to design filters and determine frequency responses of systems.Matlab is also very useful as a simulation tool.

Use the following Matlab code skeleton to simulate your system and fill in the incomplete portions. Note that the code is notcomplete and will not execute properly as written. How does the spectrum of the transmitted signal change with ${T}_{\mathrm{symb}}$ ?

1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 % Matlab code skeleton for Digital Transmitter 3 4 close all;clear; 5 6 % Generate random bits 7 bits_per_symbol=2; 8 num_symbols=64; 9 numbits=bits_per_symbol*num_symbols; 10 bits=rand(1,numbits)>0.5; 11 12 Tsymb=32; % samples per symbol 13 14 15 % These are the 4 frequencies to choose from 16 % Note that 32 samples per symbol does not correspond to 17 % an integer number of periods at these frequencies 18 omega1 = 9*pi/32; 19 omega2 = 13*pi/32; 20 omega3 = 17*pi/32; 21 omega4 = 21*pi/32; 22 23 24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 25 % Transmitter section 26 27 % Initialize transmit sequence 28 index=1; % Initialize bit index 29 n=1; % Initialize sample index 30 phi=0; % Initialize phase offset 31 32 % Generate 64 32-sample symbols 33 while (n<=num_symbols*Tsymb) 34 35 if (bits(index:index+1) == [0 0]) 36 sig(n:n+Tsymb-1) = sin(omega1*[0:Tsymb-1]+phi); 37 phi = omega1*Tsymb+phi; % Calculate phase offset for next symbol 38 phi = mod(phi, 2*pi); % Restrict phi to [0,2*pi) 39 40 % -----------> Insert code here <-------------% 41 42 end % end if-else statements 43 44 index=index+2; % increment bit counter so we look at next 2 bits 45 46 n=n+Tsymb; 47 end % end while 48 49 50 % Show transmitted signal and its spectrum 51 % ---------------> Insert code here <-----------------%

What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
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!