⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 turbo_logmap.txt

📁 turbo码的matlab仿真源程序
💻 TXT
📖 第 1 页 / 共 4 页
字号:

  Columns 313 through 325 

    16   242   300    41    81   392    48    17   296   195    95   126   234

  Columns 326 through 338 

   179   198   379   295   335   193   165   297   163   366    60   119   253

  Columns 339 through 351 

   141   397   158   217    18   320   227   105   304   275   311    42   216

  Columns 352 through 364 

   266   381   342   213   283   103   343    26   215    78   140    39    98

  Columns 365 through 377 

   114    88   287    69    77   210    63   382   291   334     2    71   101

  Columns 378 through 390 

    90   241   267   309   393   332   222   164    21   277   235   290     6

  Columns 391 through 400 

   347   112   264    97     5   151   345   219   107   325

helpbrowser;
doc
doc
temp

temp =

  Columns 1 through 7 

    0.0005    0.0087    0.0089    0.0114    0.0135    0.0200    0.0239

  Columns 8 through 14 

    0.0241    0.0287    0.0298    0.0339    0.0339    0.0343    0.0353

  Columns 15 through 21 

    0.0367    0.0374    0.0408    0.0412    0.0518    0.0533    0.0536

  Columns 22 through 28 

    0.0564    0.0565    0.0610    0.0623    0.0636    0.0645    0.0653

  Columns 29 through 35 

    0.0657    0.0659    0.0661    0.0671    0.0771    0.0773    0.0786

  Columns 36 through 42 

    0.0830    0.0867    0.0872    0.0889    0.0926    0.0945    0.0964

  Columns 43 through 49 

    0.1001    0.1018    0.1058    0.1081    0.1129    0.1138    0.1154

  Columns 50 through 56 

    0.1155    0.1189    0.1214    0.1230    0.1271    0.1324    0.1325

  Columns 57 through 63 

    0.1333    0.1342    0.1410    0.1476    0.1511    0.1515    0.1523

  Columns 64 through 70 

    0.1529    0.1530    0.1570    0.1581    0.1590    0.1636    0.1676

  Columns 71 through 77 

    0.1683    0.1716    0.1722    0.1744    0.1798    0.1799    0.1816

  Columns 78 through 84 

    0.1869    0.1869    0.1871    0.1871    0.1950    0.1953    0.1954

  Columns 85 through 91 

    0.2066    0.2085    0.2120    0.2140    0.2211    0.2230    0.2286

  Columns 92 through 98 

    0.2301    0.2310    0.2429    0.2436    0.2450    0.2489    0.2504

  Columns 99 through 105 

    0.2562    0.2585    0.2608    0.2613    0.2636    0.2647    0.2658

  Columns 106 through 112 

    0.2688    0.2720    0.2743    0.2764    0.2776    0.2786    0.2818

  Columns 113 through 119 

    0.2820    0.2825    0.2833    0.2891    0.2918    0.2950    0.2995

  Columns 120 through 126 

    0.3070    0.3070    0.3097    0.3116    0.3175    0.3227    0.3246

  Columns 127 through 133 

    0.3335    0.3336    0.3343    0.3373    0.3397    0.3416    0.3447

  Columns 134 through 140 

    0.3472    0.3482    0.3515    0.3560    0.3573    0.3611    0.3669

  Columns 141 through 147 

    0.3709    0.3729    0.3731    0.3764    0.3808    0.3822    0.3844

  Columns 148 through 154 

    0.3918    0.3925    0.3958    0.3983    0.3989    0.3993    0.4034

  Columns 155 through 161 

    0.4111    0.4129    0.4149    0.4170    0.4193    0.4239    0.4257

  Columns 162 through 168 

    0.4298    0.4332    0.4344    0.4386    0.4390    0.4402    0.4407

  Columns 169 through 175 

    0.4416    0.4443    0.4474    0.4490    0.4530    0.4539    0.4543

  Columns 176 through 182 

    0.4576    0.4599    0.4621    0.4623    0.4645    0.4665    0.4666

  Columns 183 through 189 

    0.4685    0.4705    0.4711    0.4712    0.4727    0.4754    0.4802

  Columns 190 through 196 

    0.4808    0.4855    0.4881    0.4896    0.4897    0.4915    0.4920

  Columns 197 through 203 

    0.4928    0.4937    0.4951    0.4955    0.4956    0.4988    0.4994

  Columns 204 through 210 

    0.5030    0.5053    0.5066    0.5069    0.5123    0.5129    0.5130

  Columns 211 through 217 

    0.5143    0.5150    0.5182    0.5218    0.5251    0.5255    0.5268

  Columns 218 through 224 

    0.5278    0.5305    0.5376    0.5399    0.5408    0.5412    0.5422

  Columns 225 through 231 

    0.5447    0.5490    0.5491    0.5503    0.5519    0.5558    0.5581

  Columns 232 through 238 

    0.5592    0.5599    0.5620    0.5620    0.5624    0.5644    0.5647

  Columns 239 through 245 

    0.5674    0.5683    0.5702    0.5728    0.5736    0.5766    0.5770

  Columns 246 through 252 

    0.5868    0.5870    0.5880    0.5945    0.5955    0.6081    0.6103

  Columns 253 through 259 

    0.6120    0.6122    0.6352    0.6369    0.6392    0.6468    0.6492

  Columns 260 through 266 

    0.6514    0.6529    0.6534    0.6538    0.6548    0.6571    0.6585

  Columns 267 through 273 

    0.6666    0.6706    0.6754    0.6796    0.6802    0.6826    0.6839

  Columns 274 through 280 

    0.6884    0.6896    0.6907    0.6919    0.6964    0.6971    0.7019

  Columns 281 through 287 

    0.7054    0.7101    0.7132    0.7210    0.7236    0.7340    0.7434

  Columns 288 through 294 

    0.7465    0.7494    0.7497    0.7501    0.7510    0.7537    0.7548

  Columns 295 through 301 

    0.7565    0.7582    0.7604    0.7637    0.7651    0.7653    0.7667

  Columns 302 through 308 

    0.7670    0.7739    0.7791    0.7799    0.7800    0.7906    0.7965

  Columns 309 through 315 

    0.8005    0.8107    0.8115    0.8117    0.8126    0.8154    0.8161

  Columns 316 through 322 

    0.8171    0.8185    0.8185    0.8190    0.8283    0.8367    0.8377

  Columns 323 through 329 

    0.8397    0.8409    0.8463    0.8476    0.8489    0.8491    0.8497

  Columns 330 through 336 

    0.8507    0.8562    0.8568    0.8612    0.8644    0.8664    0.8700

  Columns 337 through 343 

    0.8738    0.8761    0.8785    0.8817    0.8830    0.8857    0.8889

  Columns 344 through 350 

    0.8897    0.8920    0.8936    0.8951    0.8972    0.8978    0.8986

  Columns 351 through 357 

    0.8999    0.9009    0.9021    0.9063    0.9080    0.9083    0.9094

  Columns 358 through 364 

    0.9095    0.9098    0.9104    0.9118    0.9134    0.9140    0.9166

  Columns 365 through 371 

    0.9223    0.9227    0.9231    0.9235    0.9265    0.9267    0.9268

  Columns 372 through 378 

    0.9274    0.9323    0.9386    0.9388    0.9390    0.9480    0.9505

  Columns 379 through 385 

    0.9512    0.9532    0.9533    0.9542    0.9553    0.9562    0.9566

  Columns 386 through 392 

    0.9579    0.9589    0.9599    0.9620    0.9621    0.9661    0.9700

  Columns 393 through 399 

    0.9759    0.9799    0.9835    0.9861    0.9924    0.9935    0.9976

  Column 400 

    0.9999

length(x)

ans =

   398

dbstep
uiopen('d:\MATLAB6p1\work\demo_turbo\rsc_encode.m',1)
dbquit
cd('d:\MATLAB6p1\work\turbo');
uiopen('d:\MATLAB6p1\work\turbo\en_turbo.m',1)
m=5;
gfpretty(gfprimdf(m))
 
                                       2    5
                                  1 + X  + X 
gfprimdf(m)

ans =

     1     0     1     0     0     1

uiopen('d:\MATLAB6p1\work\turbo\turbo.m',1)
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> encode
The specified codeword length and message length are not valid.

Error in ==> d:\MATLAB6p1\work\turbo\turbo.m
On line 18  ==> code = encode(ex,n,k,'hamming/binary',pol);

edit('encode');
dbclear all 
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
sum(code)

ans =

  Columns 1 through 13 

    14    14    17    17    18    26    26    14    10    14    17    17    14

  Columns 14 through 26 

     8     8     8    22    22    22     8     8     8    14    17    17    14

  Columns 27 through 31 

    10    13    26    26    26

sum(code)

ans =

  Columns 1 through 13 

    14    14    17    17    18    26    26    14    10    14    17    17    14

  Columns 14 through 26 

     8     8     8    22    22    22     8     8     8    14    17    17    14

  Columns 27 through 31 

    10    13    26    26    26

sum(code')

ans =

  Columns 1 through 13 

    31    31    24    18    14    14    13    16    16    16    15    17    17

  Columns 14 through 26 

    17     6    10    10    10    19    19    19    19    31    31    31    31

rem(ans,2)

ans =

  Columns 1 through 13 

     1     1     0     0     0     0     1     0     0     0     1     1     1

  Columns 14 through 26 

     1     0     0     0     0     1     1     1     1     1     1     1     1

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> vertcat
All rows in the bracketed expression must have the same 
number of columns.

Error in ==> d:\MATLAB6p1\work\turbo\turbo.m
On line 20  ==> code1=[code;t];

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

Error in ==> d:\MATLAB6p1\work\turbo\turbo.m
On line 20  ==> code1=[code,t];

clc
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
uiopen('d:\MATLAB6p1\work\turbo\turbo.m',1)
turbo
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

Error in ==> d:\MATLAB6p1\work\turbo\turbo.m
On line 20  ==> code1=[code,t];

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> vertcat
All rows in the bracketed expression must have the same 
number of columns.

Error in ==> d:\MATLAB6p1\work\turbo\turbo.m
On line 20  ==> code1=[code;t'];

size(code)

ans =

    26    31

size()t
??? size()t
         |
Error: Expected a variable, function, or constant, found ")".

size(t)

ans =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -