There are two files in the zip folder. bpsk_spread.m and jakesmodel.m Steps for simulation: 1] Run jakesmodel.m first 2] Then run bpsk_spread.m . 3] Note that during the first run bpsk_spread.m has no rayleigh fading.This is because the corresponding code has been commented 4] The resulting performance is stored in BER_awgn. 5] Now uncomment the Rayleigh Fading code in bpsk_spread.m file. 6] Same time comment BER_awgn (line 112) and uncomment BER_ray variable. 7] Run the simulation. To compare the perfromances of the receiver using DSSS plot the BER_awgn and BER_ray
標簽: bpsk_spread jakesmodel simulation folder
上傳時間: 2016-05-19
上傳用戶:ynsnjs
Matlab的centroid.m、mse_dist.m、uq_dist.m文件 ,它們分別求:一個區域的質心、對已知分布和量化區域邊界的均方量化誤差、采用均勻量化對一給定信源量化時的失真。
標簽: centroid mse_dist uq_dist Matlab
上傳時間: 2016-06-17
上傳用戶:410805624
使用MATLAB完成turbo碼的編碼,在給定生成多項式交織映射表和刪余選擇的情況下進行TURBO的編碼。主程序為encederm.m,調用子程序rsc_encede.m和encode_bit.m
標簽: rsc_encede encode_bit encederm MATLAB
上傳時間: 2016-07-08
上傳用戶:edisonfather
按FPE定階的 源程序:fpe.cpp M序列:M序列.txt 白噪聲:Gauss.txt 程序中先用依模型階次遞推算法估計模型的參數,再用fpe方法判斷模型的階次。 程序運行結果如下: n: 1 判斷階次FPE的值: 0.0096406 -0.481665 1.07868 n: 2 判斷階次FPE的值: 0.00875755 -0.446739 0.00498181 1.07791 0.0527289 n: 3 判斷階次FPE的值: 0.0087098 -0.459433 0.120972 -0.0569228 1.07814 0.0390757 0.116982 n: 4 判斷階次FPE的值: 0.000396884 -0.509677 0.4501 -0.200906 0.0656188 1.07991 -0.0156362 0.442989 0.0497236 n: 5 判斷階次FPE的值: 3.2095e-007 -1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771 n: 6 判斷階次FPE的值: 3.23349e-007 -1.14659 0.76933 -0.487651 0.329676 -0.10377 -0.00440907 1.07999 -0.703574 0.447253 -0.235282 0.113587 0.00479688 從以上結果可以看出,當n=5時,fpe值最小,所以這時的模型階次和參數估計值為最優結果: 3.2095e-007 -1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771
上傳時間: 2013-12-11
上傳用戶:yd19890720
生成給定分布律的隨機數 % r=specrnd(x,p)返回一個來自分布律P(x)=p的隨機數 % r=specrnd(x,p,m,n)返回m*n隨機數矩陣 % p的默認值為等概率
上傳時間: 2014-01-17
上傳用戶:weixiao99
波束形成算法 用MATLAB實現的代碼 兩個代碼源:shizhizhen.m和xianliezhen.m
標簽: xianliezhen shizhizhen MATLAB 代碼
上傳時間: 2017-07-15
上傳用戶:netwolf
替代數據生成算法。包括常用的隨機相位法(shuffle.m and surrogate.m),周期隨機相位法(cycleshuffle.m)和PPS算法(pps.m and findrho.m).
上傳時間: 2013-12-16
上傳用戶:lhw888
使用MATLAB對DSB-AM進行仿真:雙邊帶幅度調制的過程以及對其中所包含的對信號的頻譜分析都可以通過MATLAB中的M語句及相關函數來實現。假如信號m(t)=cos(m)以dsb-am方式調制載波c(t)=cos(20*pi*t),所的信號為y(t),并將采樣頻率定為 fs=100Hz,則可在MATLAB中設計程序對該幅度調制的結果進行仿真,繪制已調信號波形和頻譜分析。
上傳時間: 2013-12-30
上傳用戶:JIUSHICHEN
按遞增次序生成集合M的最小的100個數并輸出之。 M的定義為:①1∈M ②X∈M,則2X+1∈M且3X+1∈M; 顯然M是一無限集合,M={1,3,4,7,9,。。。}
上傳時間: 2014-01-07
上傳用戶:zm7516678
FIELD II 是B超的matlab仿真程序。 執行 先運行 field_init.m ,進行初始化 運行文件夾 sample_cyst_phantom 里的make_image.m,產生體模的B超仿真影像 運行文件夾 sample_kidney 里的make_image.m,產生腎臟的B超仿真影像(計算時間會很長) 示例: 本包內帶了一個腎臟的B超仿真。更多的例子,大家google吧。
標簽: field_init matlab FIELD II
上傳時間: 2014-01-16
上傳用戶:BOBOniu