hrollfcoef.m ( File view )

  • By lishan_wh 2013-09-27
  • View(s):75
  • Download(s):4
  • Point(s): 2
			% ************************beginning of file*****************************
% hrollfcoef.m 
% 
% 此函数用于产生Nyquist滤波器的系数
% 
 
 
function [xh] = hrollfcoef(irfn,ipoint,sr,alfs,ncc) 
 
%+++++++++++++++++++++++variables++++++++++++++++++++++++++++ 
% irfn	  用于滤波的符号数 
% ipoint  每个符号的抽样值数
% sr      符号速率
% alfs    衰减截止频率 
% ncc     1 -- 发送端滤波  0 -- 接收端滤波 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 
xi=zeros(1,irfn*ipoint+1); 
xq=zeros(1,irfn*ipoint+1); 
 
point = ipoint; 
tr = sr ;   
tstp = 1.0 ./ tr ./ ipoint; 
n = ipoint .* irfn; 
mid = ( n ./ 2 ) + 1; 
sub1 = 4.0 .* alfs .* tr;	
 
for i = 1 : n  
 
  icon = i - mid; 
  ym = icon; 
 
  if icon == 0.0  
    xt = (1.0-alfs+4.0.*alfs./pi).* tr;  
  else  
    sub2 =16.0.*alfs.*alfs.*ym.*ym./ipoint./ipoint;  
    if sub2 ~= 1.0  
      x1=sin(pi*(1.0-alfs)/ipoint*ym)./pi./(1.0-sub2)./ym./tstp; 
      x2=cos(pi*(1.0+alfs)/ip
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 2

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.96 kB
autocorr.m618.00 B2009-03-19|20:19
comb2.m738.00 B2009-03-21|13:42
compconv2.m595.00 B2009-03-19|20:19
compoversamp2.m686.00 B2009-03-19|20:19
crosscorr.m691.00 B2009-03-19|20:19
delay.m788.00 B2009-03-19|20:19
despread.m992.00 B2009-03-19|20:19
DS_CDMA113.00 kB2009-03-22|11:15
fade.m1.87 kB2009-03-19|20:57
goldseq.m627.00 B2009-03-19|20:19
hrollfcoef.m1.45 kB2009-03-19|20:36
main_DSCDMA.m5.58 kB2009-03-21|13:39
mseq.m1.09 kB2009-03-21|13:42
qpskdemod.m700.00 B2009-03-19|20:20
qpskmod.m935.00 B2009-03-19|20:20
sefade.m1.48 kB2009-03-19|21:11
shift.m1.22 kB2009-03-19|20:20
spread.m987.00 B2009-03-19|20:20
...
Sponsored links

hrollfcoef.m (29.14 kB)

Need 2 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D