Code covered by the BSD License
-
CDMA_GUI(varargin)
CDMA_GUI M-file for CDMA_GUI.fig
-
...
-
CDMA_Encode(TotalChips, ...
-
MakeSampled(Seq,Samples,Sampl...
-
MakeUnsampled(SampledSeq,Samp...
-
PNSeq (noofBits,ChipGenMethod...
Generates a PN sequence Using Linear Feedback Shift Register Method
-
RotateSeq(InSeq)
-
buttLPF(f,cutoff,n)
-
coaxTF(f,Zr,Len,b,a,Ur,Er,Sig...
-
coax_simulator(Samples,rate,t...
-
raisedCos (f,Tb,r)
Raised Cosine Filter
-
CDMA_Simulator.m
-
View all files
from
Coaxial Cable Based CDMA System Simulation
by Iftekhar Tanveer
This is a simulation of CDMA Encoding & Decoding Process using a coax channel.
|
| MakeSampled(Seq,Samples,SamplesPerBit) |
function out = MakeSampled(Seq,Samples,SamplesPerBit)
[m,n]=size(Seq); % m = number of databit, n = number of user
if (m*SamplesPerBit>=Samples)
error ('Total Samples must be greater than databit*SamplesPerBit')
end
out = [];
for n1 = 1:n
out1=[];
for l = 1:m
out1=[out1,Seq(l,n1).*ones(1,SamplesPerBit)];
end
out1 = [out1,zeros(1,Samples-length(out1))]'; % Zero Padding
out = [out,out1];
end
|
|
Contact us at files@mathworks.com