KẾT QUẢ MÔ PHỎNG

Một phần của tài liệu ĐỒ ÁN NGHIÊN CỨU MÃ TURBO TRONG HỆ THỐNG CDMA ppsx (Trang 84 - 107)

I. TỔNG QUAN VỀ CÁC THUẬT TOÁN GIẢI MÃ

KẾT QUẢ MÔ PHỎNG

Sau khi chạy mô phỏng chương rìng nhiều lần với số lượng bit ngõ vào là 1000 và 5000bit tương ứng vói 3 kiểu chèn , EB/NO, số lần lặp ,kích cở khung khác nhau .Ta có kết quả sau :

1.Thực hiện mã Turbo với cùng số lần lặp Iter =1 . , EB/NO=3dB với 3 kiểu chèn khác nhau

Bảng 1.1.BER của mã Turbo với số lần lặp Iter =1 . , EB/NO=3dB Kiểu chèn Tổng số bit

ngõ vao Framesize (bit) Số bit sai BER Hoán vị 1000 50 10/18/13 13,6.10-3 1000 100 9/4/12 8,3.10-3 1000 200 7/8/7 7,3.10-3 5000 1000 27/34 6,1.10-3 Ma trận 1000 50 5/6/14 8,3.10-3 1000 100 12/4/7 7,6.10-3 1000 200 6/3/6/1 4.10-3 5000 1000 6/21/2 1,9.10-3 Gần tối ưu 1000 50 7/8/3 6.10-3 1000 100 3/3/3 3.10-3 1000 200 3/2/0 1,6.10-3 5000 1000 2/2/2 4.10-3 Nhận xét :

Ơû 3 kiểu chèn ,kết quả cho thấy việc thực hiện của mã Turbo sẽ được cải tiến khi kích cở khung (framsize)tăng

Kiểu chèn gần tối ưu cho kết quả tốt nhất là do bộ chèn này đã chọn được vị trí hoán vị ngẫu nhiên tốt nhất để mã có khoảng cách tối thiểu lớn nhất (dmin) nghĩa là không có bất kỳ 2 từ mã có thể nào có giá trị gần bằng nhau .Khoảng cách tối thiểu càng lớn thì càng dể dàng phân biệt được 2 đôi từ mã bất kỳ và việc thực hiện giải mã sẽ tốt hơn

1.2.Thực hiện của mã Turbo có cùng framesize =1000, EB/NO=3dB với 3 kiểu chèn khác nhau

Bảng 1.2 BER của mã Turbo với số kích cở khung framesize=1000, EB/NO=3dB Kiểu chèn Tổng số bit

ngõ vao Số lần lặp Iter Số bit sai BER Hoán vị 5000 1 40/74/35 9.9.10-3 5000 2 34/62/27 8,2.10-3 5000 3 33/44/27 6,2.10-3 5000 4 31/43/34 7,2.10-3 Ma trận 5000 1 5/13/28 3.10-3 5000 2 0/8/21 1,9.10-3 5000 3 0/6/16 1,4.10-3 5000 4 0/0/20 1,3.10-3 Gần tối ưu 5000 1 1/8/0/0 4,5.10-3 5000 2 1/0/2/1 2.10-3 5000 3 5/2/4/2 7,6.10-3 5000 4 27/21/28/30 5,3.10-3 Nhận xét :

Khi số lần lặp tăng từ 1->2 thì việc thực hiện mã Turbo được cải tiến nhiều,điều này là do sau khi thông tin được chia sẽ giữa các bộ giải mã có nhiều thông tin về ngõ vào và vì vậy đưa ra quyết định chính xác hơn

Khi số lần lặp tăng lớn hơn 2 thì việc thực hiện của mã Turbo cũng được cải tiến .Tuy nhiên ,mức độ cải tiến không được cao , điều này là do sau lần lặp ,các bộ giải mã đã lấy được hết thông tin của mã ngõ vào và do dó : không cho ra ở ngõ ra các giá trị biến đổi nữa như trong lần lặp thứ nhất .Vì vậy ,có thể nói việc thực hiện của mã Turbo sẽ đạt đến mức ngưỡng sau vài lần lặp

Nếu số lần lặp tăng hơn mức ngưỡng thì việc thực hiện mã Turbo sẽ bị giãm xuống ,sau mức ngưỡng thì các lần lặp sau không đem đến thông tin khác hơn đến các bộ giải mã

Như vậy ,việc thực hiện mã Turbo tăng khi số lần lặp tăng và thời gian sử dụng giải mã cũng tăng tuyến tính theo số lần lặp .Vì vậy ,người thiết kế phải điều chỉnh số lần lặp sao cho p hù hợp giữa việc thực hiện của mã và thời gian giải mã

Tuy nhiên ,trong quá trình giải mã ,thuật toán SOVA phải chịu 2 loại méo Méo thứ nhất là các ngõ ra mềm vượt quá tối ưu thường được bù bằng hệ số chia mức

Méo thứ hai là sự tương quan giữa thông tin bên ngoài và bên trong hay sự tương quan giữa ngõ ra mềm của mỗi bộ giải mã tương ứng với các bit kiểm tra chẳn lẽ của nó và chuổi dữ liệu ngõ vào thông tin

Mặc dù ảnh hưỡng méo thì rất nhỏ ,nhưng sau nhiều lần lặp thí các méo này sẽ được tích luỹ và có thể ảnh hưỡng đến việc thực hiện của mã Turbo .Để khắc phục điều này có nhiếu cách .Chương trình mô phỏng chỉ trình bày đúng theo thuật toán mã hoá và giải mã của mã Turbo vì thiết kế bộ chèn này rất phức tạp.

PHỤ LỤC

PHỤ LỤC

GIAO_DIEN_CHINH.m

++++++++++++++++++++++++++++++++++++++++++++++++++++

function fig = GIAO_DIEN_CHINH() load GIAO_DIEN_CHINH

h0 = figure('Units','points', ...

'Color',[1 0.819607843137255 0.941176470588235], ...

'Colormap',mat0, ...

'FileName','C:\MATLABR11\work\GIAO_DIEN_CHINH.m', ...

'MenuBar','none','Name','CHUONG TRINH MO PHONG', ...

'NumberTitle','off',...

'PaperPosition',[18 180 576 432], ...

'PaperUnits','points', ...

'Position',[0 21 600 400.5], ...

'Tag','Fig1','ToolBar','none'); h1 = uicontrol('Parent',h0, ...

'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'Callback','close;', ...

'FontName','vni-times', 'FontSize',16, ...

'ListboxTop',0, ...

'Position',[113.25 19.5 83.25 24.75], ...

'String','THOÁT', 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'Callback',mat1, 'FontName','vni-times', ...

'FontSize',16,'ListboxTop',0, ...

'Position',[214.5 17.25 87 24], ...

'String','TIẾP TỤC','Tag','Pushbutton2'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES', 'FontSize',16, ...

'ListboxTop',0, ...

'Position',[96.75 363 392.25 31.5], ...

'String','ĐẠI HỌC DL KỸ THUẬT CÔNG NGHỆ TPHCM', ...

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES','FontSize',16, ...

'ListboxTop',0, ...

'Position',[95.25 342.75 392.25 31.5], ...

'String','KHOA ĐIỆN - ĐIỆN TỬ', ...

'Style','text','Tag','StaticText2'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES','FontSize',16, ...

'ListboxTop',0, ...

'Position',[88.5 322.5 392.25 31.5], ...

'String','BỘ MÔN VIỄN THÔNG', ...

'Style','text', 'Tag','StaticText3'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES','FontSize',25, ...

'FontWeight','bold','ListboxTop',0, ...

'Position',[92.25 243.75 392.25 31.5], ...

'String','LUẬN VĂN TỐT NGHIỆP', ...

'Style','text','Tag','StaticText4'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES','FontSize',20, ...

'FontWeight','bold','ListboxTop',0, ...

'Position',[92.25 145.5 392.25 56.25], ...

'String','NGHIÊN CỨU MÃ TURBO TRONG HỆ THỐNG CDMA', ...

'Style','text','Tag','StaticText5');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times','FontSize',13, ...

'FontWeight','bold','ListboxTop',0, ...

'Position',[339 95.25 222.75 19.5], ...

'String','GVHD: TH.S NGUYỄN HUY HÙNG', ...

'Style','text',Tag','StaticText6');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times','FontSize',13, ...

'FontWeight','bold',ListboxTop',0, ...

'Position',[341.25 73.5 222.75 19.5], ...

'String','SVTH: NGUYỄN THANH HÙNG', ...

'Style','text',Tag','StaticText7');

if nargout > 0, fig = h0; end

input1.m

+++++++++++++++++++++++++++++++++++++++++++++++++++++++ function fig = input1()

load input1

h0 = figure('Color',[1 0.819607843137255 0.941176470588235], ...

'Colormap',mat0,'NumberTitle','off', ...

'FileName','C:\MATLABR11\work\input1.m', ...

'MenuBar','none','Name','NHAP THONG SO', ...

'PaperPosition',[18 180 576 432], ...

'PaperUnits','points','Position',[1 29 800 553], ...

'Tag','Fig1','ToolBar','none');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times','FontSize',20, ...

'FontWeight','bold','ListboxTop',0, ...

'Position',[147 350.25 305.25 27.75], ...

'String','NHẬP THÔNG SỐ NGÕ VAØO', ...

'Style','text','Tag','StaticTextdau'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235],'ListboxTop',0, ...

'FontName','vni-times', 'FontSize',15, ...

'HorizontalAlignment','left', ...

'Position',[12.75 225 158.25 18.75], ...

'String','Nhập chuỗi dữ liệu vào :', ...

'Style','text','Tag','StaticText1');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',13, ...

'ListboxTop',0,'Position',[171 224.25 60 22.5], ...

'String','10101','Style','edit','Tag','EditText1'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], 'FontName','vni- times', ...

'FontSize',15,'HorizontalAlignment','left', ...

'ListboxTop',0,'Position',[28.5 204 139.5 18.75], ...

'String','Nhập giá trị Eb/No:', ...

'Style','text','Tag','StaticText2');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',13, ...

'ListboxTop',0,'Position',[171.75 201.75 60 21], ...

'String','3','Style','edit','Tag','EditText2'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235],'FontName','vni- times', ...

'ListboxTop',0,...

'Position',[55.5 182.25 112.5 18.75], ...

'String','Nhập số lần lặp:', ...

'Style','text','Tag','StaticText3'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',13, ...

'ListboxTop',0,'Position',[171 180 60.75 21.75], ...

'String','1','Style','edit','Tag','EditText3'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235],'FontName','vni- times', ...

'FontSize',15,'HorizontalAlignment','left', ...

'ListboxTop',0,...

'Position',[55.5 159.75 112.5 18.75], ...

'String','Chọn kiểu chèn:', ...

'Style','text','Tag','StaticText5');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontName','vni-times', ...

'FontSize',15,'ListboxTop',0, ...

'Position',[168.75 161.25 75 16.5], ...

'String',mat1,'Style','popupmenu', ...

'Tag','PopupMenu1','Value',1);

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontName','vni-times', ...

'FontSize',15,'ListboxTop',0, ...

'Position',[312 196.5 99 16.5], ...

'String',mat2,'Style','popupmenu', ...

'Tag','PopupMenu2','Value',1);

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235],'FontName','vni- times', ...

'FontSize',15,'HorizontalAlignment','left', ...

'ListboxTop',0, ...

'Position',[272.25 231.75 126.75 22.5], ...

'String','Nhập số bit tin:', ...

'Style','text','Tag','StaticText4');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',13, ...

'ListboxTop',0, ...

'Position',[380.25 233.25 57.75 24], ...

'String','5','Style','edit','Tag','EditText4'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'Callback',mat3, 'FontName','vni-times', ...

'Position',[45.75 35.25 72 21], ...

'String','THOÁT','Tag','Pushbutton1'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'Callback',mat4, 'FontName','VNI-TIMES', ...

'FontSize',15,'ListboxTop',0, ...

'Position',[458.25 33 84.75 21], ...

'String','NHẬP TIẾP','Tag','Pushbutton2'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235],'FontName','vni- times', ...

'FontSize',15,'ListboxTop',0, ...

'Position',[234.75 201 30.75 21.75], ...

'String','dB','Style','text','Tag','StaticText6');

if nargout > 0, fig = h0; end

+++++++++++++++++++++++++++++++++++++++++++++++++++++++ kieu_chen.m

function kieu_chen()

z4=findobj(gcf,'Tag','PopupMenu1'); ch_int=get(z4,'value');%lay kieu chen

if ch_int==1

str='KIEU CHEN HOAN VI';

elseif ch_int==2

str='KIEU CHEN MA TRAN';

else

str='KIEU CHEN TOI UU';

end

figure('NAME',str,'menubar','none',...

'position',[50 50 500 400],'numbertitle','off','color',[ 1 0.819607843137255 0.941176470588235 ]);

if ch_int==1

%eval('kieuchenhoanvi');

uicontrol('FontName','VNI-TIMES', ...

'FontSize',18,'FontWeight','bold', ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'Position',[120 320 270 30], ...

'String','KIỂU CHÈN HOÁN VỊ', ...

'Style','text', 'Tag','StaticText1');

uicontrol('FontName','VNI-TIMES', 'FontSize',13, ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'Style','text', 'Tag','StaticText2');

uicontrol('FontSize',13,'Backgroundcolor','w',...

'HorizontalAlignment','center', 'Position',[240 220 50 30], ...

'String','5', 'Style','edit','Tag','EditTextz6'); Edittextz6=findobj(gcf,'Tag','EditTextz6'); FrameSize=get(Edittextz6,'string');

elseif ch_int==2

% eval('kieuchenmatran');

uicontrol('FontName','VNI-TIMES', ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'FontSize',18, 'FontWeight','bold', 'Position',[120 320 270 30], ...

'String','KIỂU CHÈN MA TRẬN', ...

'Style','text', 'Tag','StaticText1');

uicontrol('FontName','VNI-TIMES', 'FontSize',15, ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'Position',[80 220 160 30], 'String','Nhập số hàng n:', ...

'Style','text', 'Tag','StaticText2');

z7=uicontrol('FontSize',13, 'HorizontalAlignment','center', ...

'Backgroundcolor','w', 'Position',[240 220 50 30], ...

'String','2', 'Style','edit', 'Tag','EditTextz7'); Edittextz7=findobj(gcf,'Tag','EditTextz7'); n=get(Edittextz7,'string');

n=str2num(n)

uicontrol('FontName','VNI-TIMES', 'FontSize',15, ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'Position',[80 170 160 30],'String','Nhập số cột m:', ...

'Style','text', 'Tag','StaticText3');

z8=uicontrol( 'FontSize',13, 'HorizontalAlignment','center', ...

'Backgroundcolor','w','Position',[240 170 50 30], ...

'String','3', 'Style','edit','Tag','EditTextz8'); Edittextz8=findobj(gcf,'Tag','EditTextz8'); m=get(Edittextz8,'string');

m=str2num(m)

else

%eval('kieuchentoiuu');

uicontrol('FontName','VNI-TIMES', 'FontSize',18, 'FontWeight','bold', ...

'BackgroundColor',[ 1 0.819607843137255 0.941176470588235 ], ...

'Position',[120 320 270 30],'String','KIỂU CHÈN TỐI ƯU', ...

'Style','text', 'Tag','StaticText1');

uicontrol('FontName','VNI-TIMES', 'FontSize',13, ...

'Position',[80 220 160 30], 'String','Nhập kích cỡ khung :', ...

'Style','text','Tag','StaticText2');

z9=uicontrol('FontSize',13,'Backgroundcolor','w',...

'HorizontalAlignment','center', 'Position',[240 220 50 30], ...

'String','5', 'Style','edit', 'Tag','EditTextz9'); Edittextz9=findobj(gcf,'Tag','EditTextz9'); framesize=get(Edittextz9,'string');

end

uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765 0.917647058823529 ], 'Callback','close all;input1;', 'FontName','vni-times', …

'FontSize',13, 'Position',[15.75 39 71.25 29.25], 'String','TRỞ VỀ', 'Tag','Pushbutton1'); uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765

0.917647058823529 ],'Callback','close all;sdmh_turbo;','FontName','vni-times', …

'FontSize',13, 'Position',[197.25 37.5 71.25 29.25], ...

'String','MÃ HOÁ', 'Tag','Pushbutton2');

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sdmh_turbo.m

figure('Name','MAHOA_TURBO', ...

'Color',[ 1 0.819607843137255 0.941176470588235 ], ... 'NumberTitle','off', ... 'PaperPosition',[30 50 750 500], ... 'PaperUnits','points', ... 'Position',[203 96 560 420], ... 'Tag','Fig1', ... 'ToolBar','none'); axis([0 18 0 16]); axis off; hold on; grid;

text(3,16.5,'MA HOA TURBO','fontname','vni- times','fontsize',24,'color','y');

p1=line([0 0 2 2 0],[11.3 12.7 12.7 11.3 11.3],'color','b'); p2=line([2 3],[12 12],'color','b'); p3=line([2.75 3 2.75],[12.1 12 11.85],'color','b'); p4=line([3 3 5 5 3],[11.3 12.7 12.7 11.3 11.3],'color','b'); p5=line([5 5.6],[12 12],'color','b'); p6=line([5.35 5.6 5.35],[12.1 12 11.85],'color','b'); p7=line([6 6.67],[12 12],'color','b');

plot(7,12,'ob','markersize',15); plot(7,12,'+b'); p8=line([6.45 6.7 6.45],[12.1 12 11.85],'color','b'); p9=line([7.3 9],[12 12],'color','b'); p10=line([8.75 9 8.75],[12.1 12 11.85],'color','b'); p11=line([8 8 10.67],[12 10 10],'color','b'); p12=line([10.42 10.67 10.42],[10.1 10 9.85],'color','b'); p13=line([9 9 10 10 9],[11.3 12.7 12.7 11.3 11.3],'color','b'); p14=line([10 12],[12 12],'color','b');

plot(11,14,'ob','markersize',15); plot(11,14,'+b'); p15=line([11 11],[12 13.67],'color','b'); p16=line([10.9 11 11.1],[13.43 13.67 13.43],'color','b'); p17=line([11.75 12 11.75],[12.1 12 11.85],'color','b'); p18=line([12 12 13 13 12],[11.3 12.7 12.7 11.3 11.3],'color','b'); p19=line([13 14],[12 12],'color','b'); p20=line([11.33 14 14 11.33],[14 14 10 10],'color','b'); p21=line([11.57 11.33 11.57],[13.9 14

14.15],'color','b');%mui ten

p22=line([10.67 6 6],[14 14 12.5],'color','b'); p23=line([7 7],[14 12.33],'color','b');

p24=line([6.9 7 7.15],[12.58 12.33 12. 58],'color','b');%mui ten

plot(11,10,'ob','markersize',15); plot(11,10,'+b');

p25=line([11.58 11.33 11.58],[10.1 10 9.85],'color','b');%mui ten

p26=line([11 11 14.5],[9.67 9 9],'color','b'); p27=line([14.25 14.5 14.25],[9.1 9 8.85],'color','b'); p28=line( [14.5 14.5 18 18 14.5],[8.3 9.7 9.7 8.3 8.3],'color','b'); p29=line([4 4],[11.3 9.7],'color','b'); p30=line([3.9 4 4.15],[9.95 9.7 9.95],'color','b'); p31=line([2.5 2.5 5.5 5.5 2.5],[8.3 9.7 9.7 8.3 8.3],'color','b'); p32=line([4 4],[8.3 6.7],'color','b'); p33=line([3.9 4 4.15],[6.95 6.7 6.95 ],'color','b'); p34=line([3 3 5 5 3],[5.3 6.7 6.7 5.3 5.3],'color','b'); p35=line([5 5.6],[6 6],'color','b'); p36=line([5.35 5.6 5.35],[6.1 6 5.85],'color','b'); p37=line([6 6.67],[6 6],'color','b');

plot(7,6,'ob','markersize',15); plot(7,6,'+b'); p38=line([6.45 6.7 6.45],[6.1 6 5.85],'color','b'); p39=line([7.3 9],[6 6],'color','b'); p40=line([8.75 9 8.75],[6.1 6 5.85],'color','b'); p41=line([8 8 10.67],[6 4 4],'color','b'); p42=line([10.42 10.67 10.42],[4.1 4 3.85],'color','b'); p43=line([9 9 10 10 9],[5.3 6.7 6.7 5.3 5.3],'color','b'); p44=line([10 12],[6 6],'color','b');

plot(11,8,'ob','markersize',15); plot(11,8,'+b'); p45=line([11 11],[6 7.67],'color','b'); p46=line([10.9 11 11.1],[7.43 7.67 7.43],'color','b'); p47=line([11.75 12 11.75],[6.1 6 5.85],'color','b'); p48=line([12 12 13 13 12],[5.3 6.7 6.7 5.3 5.3],'color','b');

p49=line([13 14],[6 6],'color','b'); p50=line([11.33 14 14 11.33],[8 8 4 4],'color','b'); p51=line([11.57 11.33 11.57],[7.9 8 8.15],'color','b'); p52=line([10.67 6 6],[8 8 6.5],'color','b'); p53=line([7 7],[8 6.33],'color','b'); p54=line([6.9 7 7.15],[6.58 6.33 6.58],'color','b'); plot(11,4,'ob','markersize',15);

plot(11,4,'+b'); p55=line([11.58 11.33 11.58],[4.1 4 3.85],'color','b'); p56=line( [11 11 14.5],[3.67 3 3],'color','b'); p57=line([14.25 14.5 14.25],[3.1 3 2.85],'color','b'); p58=line([14.5 14.5 18 18 14.5],[2.3 3.7 3.7 2.3 2.3],'color','b'); p59=line([6 6 14.5],[6 1 1],'color','b'); p60=line([14.25 14.5 14.25],[1.1 1 0.85],'color','b'); p61=line([14.5 14.5 18 18 14.5],[0.3 1.7 1.7 0.3 0.3],'color','b'); p62=line([6 5.6],[12 12.5],'color','b'); p63=line([5.75 5.6 5.85],[12.2 12.5 12.3],'color','b'); p64=line([6 5.6],[12 12],'color','b'); p65=line([6 6],[12 12.5],'color','b'); p66=line( [6 6.5],[6 6.5],'color','b'); p67=line([5.75 5.6 5.85],[12.2 12.5 12.3],'color','b'); p68=line([6 5.6],[6 6],'color','b'); p69=line([6 6],[6 6.5],'color','b'); plot([5.6 7 8 11 14 6 6],[12 14 12 12 12 12 12.5],'.b ','markersize',12); plot([5.6 7 8 11 14 6 6],[6 8 6 6 6 6 6.5],'.b ','markersize',12);

text(2.6,9,'interleaver','fontsize',12,'color','r'); text(13.2,9.5,'x','fontsize',18,'color','r');

text(13.6,9.3,'2','fontsize',10,'color','r'); text(13.2,3.5,'x','fontsize',18,'color','r'); text(13.6,3.3,'3','fontsize',10,'color','r'); text(13.2,1.5,'x','fontsize',18,'color','r'); text(13.6,1.3,'1','fontsize',10,'color','r'); uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765 0.917647058823529 ], ... 'FontName','VNI-TIMES', ... 'Callback','chay_sdmh_turbo1;',... 'FontSize',13, ... 'Position',[20.25 34.5 57.75 21.75], ... 'String','CHẠY', ... 'Tag','Pushbutton1'); uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765 0.917647058823529 ], ... 'FontName','VNI-TIMES', ...

'Callback','mh_turbo;',... 'FontSize',13, ... 'Position',[19.5 8.25 57.75 21.75], ... 'String','QUICK', ... 'Tag','Pushbutton2'); uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765 0.917647058823529 ], ... 'FontName','VNI-TIMES', ... 'Callback','ketquamahoaturbo;',... 'FontSize',13, ... 'Position',[86.25 35.25 81.75 21.75], ... 'String','TIẾP TỤC', ... 'Tag','Pushbutton3'); uicontrol('BackgroundColor',[ 0.917647058823529 0.658823529411765 0.917647058823529 ], ...

'Callback','close all; input1;', ... 'FontName','VNI -TIMES', ...

'FontSize',13, ... 'Position',[84.75 8.25 80.25 21.75], ... 'String','TRỞ VỀ', ... 'Tag','Pushbutton4'); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++ kieuchen.m

function output=interleaver(input,L);%chen hoan vi %first in last out

%de_interleaver=interleaver output=input; for i=1:L output(i)=input(L+1-i); end ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++ kieuchen1.m

function output=interleaver1(input,n,m);%ma tran %quay khoi chen nxm

%de_interleaver1=interleaver1(input,n,m) output=input; dem=1; for i=1:n for j=1:m ma(i,j)=input(dem); dem=dem+1; end end dem=1; for j=1:n for i=1:m

output(dem)=ma(i,j); end

end

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ kieuchen2.m

function output= interleaver2(input,L,alpha);%gan toi uu %first in last out

%de_interleaver=interleaver

output='';

%lay hoan vi cua 1 frame theo alpha for i=1:L HVOneFrame(i) = input(alpha(i)); end output = [outputHVOneFrame ]; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ function fig = sdgm_turbo()

load sdgm_turbo

h0 = figure('Color',[1 0.819607843137255 0.941176470588235], ...

'Colormap',mat0, ...

'FileName','C:\MATLABR11\work\sdgm_turbo.m', ...

'MenuBar','none', 'Name','SO DO GIAI MA TURBO', ...

'NumberTitle','off', 'PaperPosition',[18 180 576 432], ...

'PaperUnits','points','Position',[1 29 800 553], ...

'Tag','Fig1','ToolBar','none'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 0.819607843137255 0.941176470588235], ... 'FontName','vni-times', ... 'FontSize',25, ... 'ListboxTop',0, ... 'Position',[148.5 366.75 317.25 36], ...

'String','SƠ ĐỒ GIẢI MÃ TURBO', ...

'Style','text', ...

'Tag','StaticText1');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','VNI-TIMES', 'FontSize',13, 'ListboxTop',0, ...

'Position',[338.25 67.5 93 17.25], 'String','Tổng số khung:', ...

'Style','text', 'Tag','StaticText2'); h1 = uicontrol('Parent',h0, 'Units','points', ...

'BackgroundColor',[1 1 1], 'FontSize',15, 'ListboxTop',0, ...

'Style','edit', 'Tag','EditText1');

h1 = uicontrol('Parent',h0, 'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times', 'FontSize',13, 'ListboxTop',0, ...

'Position',[18 65.25 114 21.75],'String','Chuỗi tin truyền x:', ...

'Style','text','Tag','StaticText4');

h1 = uicontrol('Parent',h0, 'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',15,'ListboxTop',0, ...

'Position',[132.75 58.5 186.75 27],'String','1011010 0100010 1100110', ...

'Style','edit','Tag','EditText3');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times','FontSize',13,'ListboxTop',0, ...

'Position',[18.75 36.75 112.5 19.5], 'String','Chuỗi tin nhận y:', ...

'Style','text', 'Tag','StaticText5'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 1 1],'FontSize',15, 'ListboxTop',0, ...

'Position',[131.25 32.25 186.75 24.75],'String','101101I 0100011 11I0110', ...

'Style','edit','Tag','EditText4');

h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[1 0.819607843137255 0.941176470588235], ...

'FontName','vni-times','FontSize',13,'ListboxTop',0, ...

'Position',[18.75 7.5 113.25 21],'String','Chuỗi tin giải mã u:', ...

'Style','text','Tag','StaticText6');

h1 = uicontrol('Parent',h0,'Units','points', 'BackgroundColor',[1 1 1], ...

'FontSize',15,'ListboxTop',0,'Position',[132 8.25 78 21], ...

'String','01101','Style','edit','Tag','EditText5'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'FontSize',15,'ListboxTop',0,'Position',[506.25 299.25 75 18.75], ...

'String','CHAY','Tag','Pushbutton1'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'Callback',mat1,'FontSize',15,'ListboxTop',0, ...

'Position',[505.5 272.25 76.5 18],'String','KET QUA','Tag','Pushbutton2'); h1 = uicontrol('Parent',h0,'Units','points', ...

'BackgroundColor',[0.917647058823529 0.658823529411765 0.917647058823529], ...

'FontSize',15,'ListboxTop',0,'Position',[507 241.5 76.5 20.25], ...

'String','TRO VE', 'Tag','Pushbutton4');

h1 = axes('Parent',h0, 'Box','on','CameraUpVector',[0 1 0], ...

'CameraUpVectorMode','manual','Color',[1 1 1],'ColorOrder',mat2, ...

'NextPlot','add','Tag','Axes1','Visible','off','XColor',[0 0 0], ...

'XGrid','on','XLim',[-1 8],'XLimMode','manual', ...

'YColor',[0 0 0],'YGrid','on','YLim',[1 11],'YLimMode','manual', ...

h2 = line('Parent',h1,'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line39','YData',[10 10]);

h2 = text('Parent',h1,'Color',[0 0 0], 'HandleVisibility','off', ...

'HorizontalAlignment','center','Position',mat3, ...

'Tag','Axes1Text18','VerticalAlignment','bottom'); set(get(h2,'Parent'),'Title',h2);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line38', 'YData',[10 6]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line37','XData',[1 2],'YData',[10 10]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line36','XData',[1 2],'YData',[10 6]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line35','XData',[1 2],'YData',[6 8]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line34','XData',[1 2],'YData',[6 4]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line33','XData',[2 3],'YData',[10 10]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line32','XData',[2 3],'YData',[8 10]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line31','XData',[2 3],'YData',[6 8]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line30','XData',[2 3],'YData',[6 4]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line29','XData',[2 3],'YData',[10 6]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line28','XData',[2 3],'YData',[8 6]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line27','XData',[2 3],'YData',[6 4]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line26','XData',[2 3],'YData',[4 4]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line25','XData',[3 4],'YData',[10 10]);

h2 = line('Parent',h1,'Color',[1 0 0],'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line24', 'XData',[3 4], 'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line23', 'XData',[3 4], 'YData',[6 8]);

h2 = line('Parent',h1,'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line22', 'XData',[3 4], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line21', 'XData',[3 4], 'YData',[10 6]);

h2 = line('Parent',h1,'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line20', 'XData',[3 4], 'YData',[8 6]);

'Tag','Axes1Line19', 'XData',[3 4], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line18', 'XData',[3 4], 'YData',[4 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line17', 'XData',[4 5], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line16', 'XData',[4 5], 'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line15', 'XData',[4 5], 'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line14', 'XData',[4 5], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line13', 'XData',[4 5], 'YData',[10 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line12', 'XData',[4 5], 'YData',[8 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line11', 'XData',[4 5], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line10', 'XData',[4 5], 'YData',[4 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line9', 'XData',[5 6], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line8', 'XData',[5 6], 'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line7', 'XData',[5 6], 'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line6', 'XData',[5 6], 'YData',[4 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line5', 'XData',[4 5], 'YData',[4 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line4', 'XData',[3 4], 'YData',[4 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line3', 'XData',[2 3], 'YData',[4 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line2', 'XData',[6 7], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line1', 'XData',[6 7], 'YData',[8 10]); h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, ...

'Position',[-0.1000000000000001 3 0], ...

'String','0', 'Tag','Axes1Text17');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, ...

'Position',[0.8999999999999999 3 0], ...

'String','1', 'Tag','Axes1Text16');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, ...

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, 'Position',[2.9 3 0], ...

'String','3', 'Tag','Axes1Text14');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, 'Position',[3.9 3 0], ...

'String','4', 'Tag','Axes1Text13');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, 'Position',[4.9 3 0], ...

'String','5', 'Tag','Axes1Text12');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, 'Position',[5.9 3 0], ...

'String','6', 'Tag','Axes1Text11');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',8, 'Position',[6.9 3 0], ...

'String','7', 'Tag','Axes1Text10');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',13, 'Position',[-0.5 10 0], ...

'String','00', 'Tag','Axes1Text9');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',13, 'Position',[-0.5 8 0], ...

'String','01', 'Tag','Axes1Text8');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',13, 'Position',[-0.5 6 0], ...

'String','10', 'Tag','Axes1Text7');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',13, 'Position',[-0.5 4 0], ...

'String','11', 'Tag','Axes1Text6');

h2 = text('Parent',h1, 'Color',[0 0 1], 'FontSize',14, 'Position',[-0.6 10.6 0], ...

'String','state', 'Tag','Axes1Text5');

h2 = text('Parent',h1, 'Color',[0 0 0], 'FontSize',16, 'Position',[7.5 3 0], ...

'String','Time', 'Tag','Axes1Text4');

h2 = text('Parent',h1, 'Color',[0 0 0], 'HandleVisibility','off', ...

'HorizontalAlignment','center', ...

'Position',[3.492730210016156 0.4666666666666668 17.32050807568877], ...

'Tag','Axes1Text3', 'VerticalAlignment','cap', 'Visible','off'); set(get(h2,'Parent'),'XLabel',h2);

h2 = text('Parent',h1, 'Color',[0 0 0], 'HandleVisibility','off', ...

'HorizontalAlignment','center', ...

'Position',[-1.363489499192246 5.977777777777778 17.32050807568877], ...

'Rotation',90, 'Tag','Axes1Text2', 'VerticalAlignment','baseline', 'Visible','off'); set(get(h2,'Parent'),'YLabel',h2);

h2 = text('Parent',h1, 'Color',[0 0 0], 'HandleVisibility','off', ...

'HorizontalAlignment','right', ...

'Position',[-2.526655896607432 11.88888888888889 17.32050807568877], ...

'Tag','Axes1Text1', 'Visible','off'); set(get(h2,'Parent'),'ZLabel',h2);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line117', 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line116', 'YData',[10 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line115', 'XData',[1 2], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line113', 'XData',[1 2],'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line112', 'XData',[1 2], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line111', 'XData',[2 3],'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line110', 'XData',[2 3],'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line109','XData',[2 3], 'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line108', 'XData',[2 3],'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line107', 'XData',[2 3],'YData',[10 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line106', 'XData',[2 3], 'YData',[8 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line105', 'XData',[2 3], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line104', 'XData',[2 3], 'YData',[4 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line103', 'XData',[3 4], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line102', 'XData',[3 4], 'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line101', 'XData',[3 4], 'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line100', 'XData',[3 4], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line99', 'XData',[3 4], 'YData',[10 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line98', 'XData',[3 4], 'YData',[8 6]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.','MarkerSize',13, ...

'Tag','Axes1Line97', 'XData',[3 4], 'YData',[6 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line96', 'XData',[3 4], 'YData',[4 4]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line95', 'XData',[4 5], 'YData',[10 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line94', 'XData',[4 5], 'YData',[8 10]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

'Tag','Axes1Line93', 'XData',[4 5], 'YData',[6 8]);

h2 = line('Parent',h1, 'Color',[1 0 0], 'Marker','.', 'MarkerSize',13, ...

Một phần của tài liệu ĐỒ ÁN NGHIÊN CỨU MÃ TURBO TRONG HỆ THỐNG CDMA ppsx (Trang 84 - 107)