📄 turbo.txt
字号:
Please enter the decoding algorithm. (0:Log-MAP, 1:SOVA) default 0
Please enter the frame size (= info + tail, default: 512)
Please enter code generator: ( default: g = [1 1 1 1; 1 1 0 1 ] )
Please choose punctured / unpunctured (0/1): default 0
Please enter number of iterations for each frame: default 6
Please enter number of bit errors to terminate: default 1000
Please enter Eb/N0 in dB : default [2.0]
----------------------------------------------------
=== Log-MAP decoder ===
Frame size = 512
code generator:
1 1 1 1
1 1 0 1
Punctured, code rate = 1/2
iteration number = 6
terminate bit errors = 1000
Eb / N0 (dB) = 2.00
----------------------------------------------------
+ + + + Please be patient. Wait a while to get the result. + + + +
<a href="matlab: opentoline('C:\Documents and Settings\Administrator\桌面\Turbo\turbo.m',134,1)">134 </a> L_all = logmapo(rec_s(1,:), g, L_a, 1); % complete info.
if system_dependent('IsDebugMode')==1, dbstep in; end
if system_dependent('IsDebugMode')==1, dbstep; end
if system_dependent('IsDebugMode')==1, dbstep; end
if system_dependent('IsDebugMode')==1, dbstep; end
if system_dependent('IsDebugMode')==1, dbstep; end
if system_dependent('IsDebugMode')==1, dbstep; end
yk
{??? Undefined function or variable 'yk'.
}
dbclear ('C:\Documents and Settings\Administrator\桌面\Turbo\logmapo.m', '26')
if system_dependent('IsDebugMode')==1, dbstep; end
if system_dependent('IsDebugMode')==1, dbcont; end
yk
yk =
Columns 1 through 9
1.2843 0.7994 1.3478 0 -0.7880 0.8355 2.5427 0 1.3346
2.5048 0 1.7660 0.3046 1.4299 0 0.8948 0.9064 0.3062
Columns 10 through 18
-0.6347 -1.3986 0 -0.6761 1.8165 -1.5381 0 1.4309 -0.4560
0 0.9498 1.9406 -1.2575 0 -1.1190 0.3575 -1.7587 0
Columns 19 through 27
1.4898 0 1.0579 0.9140 0.1671 0 1.4485 -0.0040 0.4220
0.0470 -0.2207 -2.1365 0 -1.3986 1.0734 -0.2793 0 0.9338
Columns 28 through 36
0 1.5905 1.8713 0.8948 0 0.6675 -1.6281 0.9860 0
1.3830 1.5481 0 -0.0241 -1.8585 0.4413 0 1.2396 -0.3032
Columns 37 through 45
-1.5240 -1.4696 -0.3894 0 -0.5837 -1.5221 0.5373 0 0.0512
-0.8279 0 -0.1443 -0.2222 0.5575 0 -0.0488 -2.3609 2.1022
Columns 46 through 54
-2.4650 -0.3413 0 -0.9579 0.8161 -0.3744 0 -1.2027 0.0563
0 1.1051 -1.9084 0.4081 0 0.7454 2.1106 -2.0237 0
Columns 55 through 63
-2.1365 0 1.5166 -0.5675 1.1207 0 1.6140 -0.0302 1.1213
1.0830 -0.0700 -2.2594 0 0.7116 -2.3064 -1.9670 0 -0.3559
Columns 64 through 72
0 -1.8272 0.8312 1.8233 0 0.9917 1.4481 -1.6091 0
0.8643 0.0941 0 -0.3413 1.0693 0.3050 0 -1.3365 -1.3091
Columns 73 through 81
-1.9894 -0.2633 -1.2826 0 -1.3302 -0.2931 0.3322 0 -1.5893
-0.4143 0 0.0929 1.6951 1.6518 0 -1.6486 -1.0859 0.2480
Columns 82 through 90
1.3591 1.4513 0 -1.6808 -1.2966 -0.1720 0 2.6003 1.3265
0 -1.2121 0.5696 1.4863 0 0.0648 1.6885 2.1133 0
Columns 91 through 99
-0.9700 0 -0.3171 -0.1604 1.1453 0 -0.9969 1.0515 -0.9195
1.6363 1.4251 0.1965 0 -2.3593 0.3331 2.2548 0 -0.3803
Columns 100 through 108
0 1.0990 1.0938 0.1486 0 -0.6871 -2.1402 1.1787 0
1.7581 -0.7169 0 -0.1790 -0.8037 0.9200 0 -1.0444 0.2422
Columns 109 through 117
-0.3483 1.0882 0.3856 0 1.2511 0.0427 1.4863 0 -1.7544
1.5756 0 -2.2667 1.6609 -1.2853 0 -0.7119 1.6357 1.3094
Columns 118 through 126
-1.4660 2.1122 0 -0.2905 2.1892 1.7446 0 -1.3563 1.7087
0 0.8419 -1.2779 1.8542 0 -1.1149 2.1153 1.0990 0
Columns 127 through 135
2.2072 0 0.4413 -2.3515 -0.3632 0 1.1906 1.9243 -0.9910
-0.1720 1.9208 -0.5143 0 0.8424 -0.8501 1.0750 0 -0.1967
Columns 136 through 144
0 -1.7002 1.1416 -0.5445 0 -1.3581 -0.2097 2.2582 0
-0.5049 0.3322 0 1.7525 -0.9674 -1.0509 0 0.6971 -0.6292
Columns 145 through 153
0.0583 -0.9786 0.9200 0 -1.2272 -0.4981 -0.4390 0 -1.2166
-0.3632 0 -0.9166 -3.0131 -1.9894 0 -0.3125 -0.6037 2.1462
Columns 154 through 162
-0.3492 -1.5028 0 0.1770 1.7534 0.1193 0 -1.1416 0.9641
0 0.0512 -0.4565 -0.0162 0 -0.5445 -0.3537 0.5736 0
Columns 163 through 171
0.4920 0 1.4949 1.0653 1.1197 0 1.4623 -0.8175 -0.2166
1.9554 0.6518 2.3891 0 0.8869 1.6880 1.5166 0 -3.4715
Columns 172 through 180
0 -0.0241 0.9272 0.4893 0 0.0653 1.1532 -1.3546 0
-0.9476 -1.7698 0 -2.2970 0.8178 0.4201 0 -3.2465 -0.3299
Columns 181 through 189
1.9554 -1.0699 -0.2141 0 0.5981 -2.1492 -1.3614 0 -0.7775
-1.0895 0 -1.5449 -1.2678 2.2582 0 -0.3778 0.1229 0.7277
Columns 190 through 198
-1.5185 0.5189 0 -0.3078 1.0106 1.1491 0 0.9112 -2.3044
0 0.3267 -1.3778 2.2163 0 0.4123 1.1315 1.3924 0
Columns 199 through 207
0.0840 0 -1.0895 -1.3555 1.5756 0 -1.2092 -1.1229 1.3094
2.1279 -0.2595 -2.7212 0 -2.0551 -1.0252 2.2072 0 1.2511
Columns 208 through 216
0 -0.3790 -1.6010 0.2479 0 0.7522 -1.5570 -1.9132 0
1.3154 0.5373 0 -1.5346 -0.3444 -1.2436 0 -1.1416 0.1767
Columns 217 through 225
-1.3019 -0.5485 0.1286 0 0.1829 1.9896 1.0830 0 1.8348
-1.4543 0 -2.0668 0.2112 0.9436 0 0.4422 -1.3384 -1.3302
Columns 226 through 234
-0.9825 1.2240 0 -0.4110 -0.0796 -1.4056 0 0.7861 -1.7320
0 -1.4056 -0.1531 -1.0062 0 -0.6871 -0.3668 -0.8318 0
Columns 235 through 243
0.3050 0 1.4889 0.4082 -1.4543 0 -2.0895 1.7056 -3.1018
2.5392 -1.7614 -1.6761 0 2.3708 1.1148 0.7520 0 -0.6243
Columns 244 through 252
0 0.5218 1.5644 1.3232 0 0.5991 2.4738 0.6227 0
-1.3087 0.5925 0 -1.2503 1.4726 0.7868 0 1.8682 -0.9973
Columns 253 through 261
-1.5520 0.0129 -1.7587 0 0.7520 0.6341 -1.2121 0 1.0085
-0.7518 0 -0.6299 -0.1366 0.1829 0 1.3232 -1.5971 0.3680
Columns 262 through 270
-0.8208 0.7668 0 -2.2245 -2.1380 -1.8245 0 2.1462 1.1891
0 -0.2018 -0.6167 -1.3613 0 -1.0697 -0.9358 0.4488 0
Columns 271 through 279
-0.9025 0 -1.2713 -1.4827 1.2149 0 1.8421 0.1150 -1.1904
0.4220 1.6715 -2.2245 0 0.8722 1.5765 1.2515 0 0.8221
Columns 280 through 288
0 0.8464 0.3948 1.3394 0 -0.2256 2.0620 2.1750 0
-2.4948 0.8095 0 0.9860 1.3596 0.5889 0 -0.9484 -0.5861
Columns 289 through 297
1.0288 -2.0173 -0.4162 0 -1.5089 0.5448 -1.7272 0 1.8642
0.1004 0 2.3057 -1.4820 0.8464 0 -0.0532 0.7076 0.6340
Columns 298 through 306
-0.3969 -0.9166 0 -3.4715 -1.4983 1.2796 0 1.2396 -1.8492
0 -0.2256 -1.2062 0.4468 0 -0.8440 -0.6730 0.0079 0
Columns 307 through 315
0.9237 0 -0.0450 0.1063 -0.2960 0 1.5088 0.2982 2.1133
0.3505 0.4240 1.3759 0 1.7380 -1.1075 -0.6979 0 -1.7414
Columns 316 through 324
0 -1.3065 1.5019 0.9436 0 0.4468 -0.8054 0.4586 0
1.6137 0.9314 0 -0.4142 1.4804 0.2479 0 1.1906 -0.0628
Columns 325 through 333
-1.5449 0.6136 1.6025 0 -0.5024 -1.7294 1.8392 0 -1.1149
1.0562 0 1.5905 -1.8508 0.1770 0 2.3704 1.0686 -2.2133
Columns 334 through 342
-1.9556 0.0929 0 0.0095 1.0463 0.1965 0 0.9170 -0.3098
0 0.1845 0.8245 -0.0300 0 -2.0895 -0.2924 -0.5012 0
Columns 343 through 351
0.5589 0 -0.1169 -1.6570 -0.4467 0 -0.0488 1.4021 1.1427
2.8247 1.1505 0.8948 0 -3.3834 1.4234 -0.5024 0 1.1197
Columns 352 through 360
0 1.6343 -0.1026 0.2569 0 -1.1225 -0.0545 -1.5262 0
-0.4205 -1.6091 0 1.4485 1.6008 -1.0552 0 -0.5491 -1.6520
Columns 361 through 369
0.5526 0.1637 0.2705 0 -0.1790 0.7604 0.9338 0 1.8050
-1.9187 0 -0.4467 -0.4690 -0.9969 0 1.6343 0.5532 1.5628
Columns 370 through 378
-1.2645 -0.0162 0 -1.9433 -0.5178 2.5048 0 1.8542 -0.4846
0 0.7095 -1.5293 2.4913 0 1.6294 2.0631 -0.9195 0
Columns 379 through 387
2.3376 0 -1.2503 -0.8860 -1.7015 0 1.6294 1.3240 -1.8070
-0.9025 2.0910 -1.2027 0 0.2420 0.8785 -1.2835 0 0.5991
Columns 388 through 396
0 -0.2018 1.9336 -0.7485 0 -0.5925 -0.5624 -1.0497 0
1.9949 0.9403 0 0.7522 -0.2283 1.3231 0 1.2678 0.7072
Columns 397 through 405
-2.0846 0.9028 0.4850 0 -1.2853 -0.6712 -2.0885 0 0.7454
-0.9875 0 0.4920 -1.5801 -0.8515 0 0.7006 -0.8560 -0.3483
Columns 406 through 414
-0.3746 -0.9423 0 0.6512 -0.4740 -0.7809 0 1.6518 1.6503
0 0.5589 1.7103 -1.2272 0 0.0185 0.5620 -0.7561 0
Columns 415 through 423
-0.8731 0 -0.6979 -0.4123 -1.9187 0 -0.3839 0.6117 -0.5143
-1.3546 -0.2107 -0.3460 0 1.8642 -0.1462 0.2140 0 -1.9853
Columns 424 through 432
0 -0.6299 1.4501 0.4968 0 1.2117 1.0344 1.7380 0
0.6347 0.0436 0 -1.1571 -0.3786 0.2096 0 -0.0723 -1.1435
Columns 433 through 441
-1.8061 1.4831 -0.4142 0 0.1561 0.1109 0.3147 0 -2.7212
2.3376 0 -1.5377 -1.6283 -2.0885 0 1.4889 -0.5740 1.8050
Columns 442 through 450
-0.0550 0.6939 0 2.1022 0.3394 0.4648 0 1.7660 1.0411
0 -0.1548 -0.0645 0.3608 0 -1.8061 1.3019 0.8149 0
Columns 451 through 459
1.2678 0 -1.3386 -1.7854 1.1051 0 0.3608 1.9320 2.1279
-0.3790 -0.3583 0.4968 0 2.6003 1.2100 -0.1169 0 -1.4395
Columns 460 through 468
0 2.0957 0.5775 -2.0668 0 1.3231 0.7252 -0.6458 0
-0.6801 -1.7182 0 0.8219 -2.0240 0.3856 0 0.9917 -0.1416
Columns 469 through 477
1.4299 -0.5195 -2.3480 0 0.8221 0.2274 -0.8500 0 2.3057
-1.6448 0 1.4513 -1.4172 1.5688 0 1.5088 -0.2498 1.2808
Columns 478 through 486
1.3934 -0.9875 0 -0.0382 -1.6707 0.7409 0 0.2284 -0.0748
0 -0.2905 0.6162 -1.5381 0 0.7442 0.8556 0.7646 0
Columns 487 through 495
-1.2486 0 0.6971 -1.5655 -0.5491 0 -0.7806 0.7890 1.5040
-0.7880 1.0385 1.8392 0 0.4893 -1.6140 -0.1958 0 0.5526
Columns 496 through 504
0 -0.2374 0.1815 -1.6761 0 2.3704 0.6655 -0.8318 0
-0.2382 -1.8070 0 1.7456 -0.1957 1.1207 0 -1.2092 0.0486
Columns 505 through 513
-0.2793 1.9328 -0.4049 0 0.5889 -1.9867 0.5575 0 0.8095
-2.4104 0 -2.5311 -1.0275 -1.7144 0 -0.6400 2.1874 -0.5925
Columns 514 through 522
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -