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

📄 turbo_logmap.txt

📁 共同学习
💻 TXT
📖 第 1 页 / 共 5 页
字号:

     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 =

     1    26

[code,t]
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

[code;t]
??? Error using ==> vertcat
All rows in the bracketed expression must have the same 
number of columns.

[code t]
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

[code t]
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

[code t]
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

[code;t]
??? Error using ==> vertcat
All rows in the bracketed expression must have the same 
number of columns.

[code;t]
??? Error using ==> vertcat
All rows in the bracketed expression must have the same 
number of columns.

[code,t]
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the 
 same number of rows.

[code,t']

ans =

  Columns 1 through 13 

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

  Columns 14 through 26 

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

  Columns 27 through 32 

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

size([code,t'])

ans =

    26    32

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
symerr(code1,)
??? symerr(code1,)
                 |
Error: Expected a variable, function, or constant, found ")".

load aha.dat
symerr(code1,aha(1:26,:))

ans =

   306

symerr(code1(:,1:26),aha(1:26,1:26))

ans =

   249

symerr(ex,aha(1:26,1:26))

ans =

     0

symerr(ex,code1(:,1:26))

ans =

   249

26*26

ans =

   676

31-26

ans =

     5

symerr(ex,code1(:,6:31))

ans =

     0

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
load aha.dat
symerr(ex,code1(:,1:26))

ans =

     0

symerr(aha(1:26,:),code1)

ans =

    36

5*26

ans =

   130

6*26

ans =

   156

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Reference to a cleared variable ex.

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

helpbrowser;
doc
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Undefined function or variable 'ex'.

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

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> encode
The matrix MSG in ENCODE must have K columns.

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

turbo
??? Error using ==> encode
The matrix MSG in ENCODE must have K columns.

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

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
??? Error using ==> encode
The matrix MSG in ENCODE must have K columns.

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

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(ex11,n,k,'hamming/binary',pol);

fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
load en11.dat
load en11.dat
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
fschange('d:\MATLAB6p1\work\turbo\turbo.m');
clear turbo
turbo
symerr(en11(1:11,1:11),code1(:,1:11))

ans =

     0

symerr(en11(1:11,:),code1)

ans =

    22

t1=en(1:11,12:end);
??? Error: The end operator can only be used within an array index expression.

t1=en11(1:11,12:end);
t2=code1(:,12:end);
symerr(t1,t2)

ans =

⌨️ 快捷键说明

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