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.
|
| MakeUnsampled(SampledSeq,SamplesPerBit,clipto)
|
function out = MakeUnsampled(SampledSeq,SamplesPerBit,clipto)
if (clipto<1 || mod(clipto,SamplesPerBit)~=0),
error('Error in Selecting Clipping Point')
end
SampledSeq = SampledSeq(1:clipto);
out = [];
n=length(SampledSeq(1,:)); % Number of columns
for n1 = 1:n
out1=[];
for l = 1:SamplesPerBit:clipto
out1=[out1,SampledSeq(l,n1)];
end
out = [out,out1'];
end
|
|
Contact us at files@mathworks.com