資源簡介
瑞利衰落信道的simulink模型及其仿真源程序。還有PSK的仿真模型及其誤比特率分析,

代碼片段和文件信息
function?example_sel2html(fnnew)
%Convert?Dick?Benson‘s?example_sel?text?files?to?HTML?documents
%?EXAMPLE_SEL2HTML?creates?a?web-based?example?selector?using
%?example_sel.txt?in?the?current?directory.
%
%?EXAMPLE_SEL2HTML?filename?uses?specified?file
%
%?EXAMPLE_SEL2HTML?filename?-new?opens?in?a?new?web?pages.
%?Application?Notes:
%You?can?populate?the?list?box?with?the?contents?of?a?text?file
%This?works?one?of?two?ways:
%??Have?a?file?called?example_sel.txt?in?the?CURRENT?DIRECTORY
%??Specify?the?file?name?(w/?.txt?extension)?as?input:
%?????example_sel(‘MyFile.txt‘);
%
%?Adding?links?to?documentation:
%???-?Put?the?name?of?the?documentation?file?following?a?%?after?the
%???command
%?ex:??????????My?Demo???????$my_demo.m??%my_demoHelp.html
%
%?Adding?Initialization?Commands:
%???-?Insert?initialization?commands?by?starting?a?line?with?#
%???-?This?will?be?evaluated?in?base?workspace.
%?Example:????#addpath(genpath(pwd))
%
%?A?title?is?automatically?culled?from?the?first?line?of?the?file.
if?nargin?1
????fn?=?‘example_sel.txt‘;
end
if?nargin<2
????new?=?0;
else
????new?=?1;
end;
f?=?textread(fn‘%s‘‘delimiter‘‘\n‘‘whitespace‘‘‘);
titlestring?=?f{1};?????%?title?is?first?line
ln?=?[];
for?n?=?1:length(f)
????[st1fn1tk1]?=?regexp(f{n}‘^([^\$]*)‘);
????[st2fn2tk2]?=?regexp(f{n}‘\$(.*)$‘);
????%?Blank?line.??Also?ignore?initialization?lines?(#)
????if?isempty(tk1)?|?(strncmp(f{n}‘#‘1)?&?length(f{n})>1)
????????ln(n).text?=?‘‘;
????????ln(n).code?=?‘‘;
????????ln(n).style?=?‘‘;
????????ln(n).help?=?‘‘;
????else
????????ln(n).text?=?deblank(f{n}(tk1{1}(1):tk1{1}(2)));
????????ln(n).text?=?strrep(ln(n).text‘>‘‘>‘);
????????ln(n).text?=?strrep(ln(n).text‘<‘‘<‘);
????????%?Determine?the?indent?depending?on?how?many?spaces?there?are
????????[stfn]?=?regexp(ln(n).text‘^([\s]*)‘);
????????if?isempty(fn)
????????????ln(n).style?=?‘level1‘;
????????elseif?fn<=4
????????????ln(n).style?=?‘level2“‘;
????????else
????????????ln(n).style?=?‘level3“‘;
????????end
????????
????????if?~isempty(tk2)
????????????ln(n).code?=?f{n}(tk2{1}(1):tk2{1}(2));
????????????%?Look?for?help?file?name:?specified?with?a?%?in?executable
????????????%?code
????????????[st3fn3tk3]?=?regexp(f{n}‘%\w*‘);
????????????if?~isempty(st3)
????????????????helpfile?=?deblank(f{n}(st3+1:end));
????????????????
????????????????URL?=?which(helpfile);
%?????????????????if?isempty(URL)
%?????????????????????ln(n).help?=?‘‘;
%?????????????????end;
????????????????URL?=?[‘file:///‘?URL];
????????????????ln(n).help?=??helpfile;
????????????else
????????????????ln(n).help?=?‘‘;
????????????end;
????????else
????????????ln(n).code?=?‘‘;
????????end
????????
????end
????
????%Look?for?initialization?commands:??Line?starts?with?#
????if?strncmp(f{n}‘#‘1)?&?length(f{n})>1
????????evalin(‘base‘f{n}(2:end)‘disp([‘‘fail?to?execute?string:?‘‘f{n}(2:end)])‘);
????????disp(‘Ev
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????501??2008-10-20?17:04??Submit_v2\CC_BER\CC_BER.mat
?????文件???????1016??2008-11-03?19:42??Submit_v2\CC_BER\CC_BER.txt
?????文件???????1576??2008-12-03?19:03??Submit_v2\CC_BER\ConvCode_BER_Curves.m
?????文件??????33688??2008-11-06?12:50??Submit_v2\CC_BER\ConvCode_HardDecision_F.mdl
?????文件??????46648??2008-12-03?19:41??Submit_v2\CC_BER\ConvCode_Quantized_F.mdl
?????文件???????2665??2008-12-03?19:26??Submit_v2\CC_BER\ConvCode_Simulate.asv
?????文件???????2663??2008-12-03?19:42??Submit_v2\CC_BER\ConvCode_Simulate.m
?????文件??????33724??2008-11-06?12:49??Submit_v2\CC_BER\ConvCode_Unquantized_F.mdl
?????文件???????4653??2004-07-27?20:54??Submit_v2\CC_BER\example_sel2html.m
?????文件??????63422??2008-10-20?17:28??Submit_v2\CC_BER\odenwalder_fig5_1.bmp
?????文件??????28596??2008-11-06?12:50??Submit_v2\CC_BER\ResultsOverlay\compositeImage.mdl
?????文件???????4653??2004-07-27?20:54??Submit_v2\CC_BER\ResultsOverlay\example_sel2html.m
?????文件????2130574??2008-10-20?17:41??Submit_v2\CC_BER\ResultsOverlay\myResults4.bmp
?????文件??????74462??2008-10-16?19:35??Submit_v2\CC_BER\ResultsOverlay\OdenWalder_7_2_code_bw.bmp
?????文件????????669??2008-11-03?19:41??Submit_v2\CC_BER\ResultsOverlay\overlay.txt
?????文件??????73075??2008-11-03?18:31??Submit_v2\CC_BER\ResultsOverlay\overlayResults.mat
?????文件????????667??2008-11-03?19:40??Submit_v2\CC_BER\ResultsOverlay\registerImage.m
?????文件????????301??2008-11-03?19:05??Submit_v2\CC_BER\ResultsOverlay\transformPts.mat
?????文件???????2531??2008-12-03?18:56??Submit_v2\CC_BER\run_me.asv
?????文件???????2541??2008-12-03?20:37??Submit_v2\CC_BER\run_me.m
?????文件???????4653??2004-07-27?20:54??Submit_v2\example_sel2html.m
?????文件???????4653??2004-07-27?20:54??Submit_v2\Fading_BER\example_sel2html.m
?????文件???????1317??2008-11-06?12:51??Submit_v2\Fading_BER\Fading_BER.txt
?????文件???????1544??2008-12-03?17:59??Submit_v2\Fading_BER\Fading_BER_Curves.m
?????文件???????3899??2008-12-03?18:42??Submit_v2\Fading_BER\Fading_Simulate.m
?????文件???????1139??2008-11-06?12:38??Submit_v2\Fading_BER\fBER.mat
?????文件??????45786??2008-11-06?12:48??Submit_v2\Fading_BER\RayleighFlatFading_PSK.mdl
?????文件??????60507??2008-11-06?12:49??Submit_v2\Fading_BER\RayleighFlatFading_PSK_Div.mdl
?????文件??????54007??2008-11-06?12:49??Submit_v2\Fading_BER\RayleighFlatFading_PSK_L2.mdl
?????文件???????3021??2008-12-03?18:06??Submit_v2\Fading_BER\run_me.asv
............此處省略44個文件信息
- 上一篇:Norden E.Huang的FEEMD算法
- 下一篇:matlab人臉識別
評論
共有 條評論