资源简介
RS coding program design, including test procedures, coding part, channel, etc., have been tested to run smoothly
代码片段和文件信息
%*************************************************************************
% FUNCTION CHECK_EQUAL
% Param:
% TestOutput: run-time test output whose correctness need to be verified
% ExpectedOutput: expected output gotten beforehand that is thought to be
% correct output
%
% return value:
% 0: If TestOutput == ExpectedOutput
% 1: If TestOutput != ExpectedOutput
function [TestRet] = CHECK_EQUAL(TestOutput ExpectedOutput TestName)
% first get TestOutput and ExpectedOutput to be the smae dimension
[RowDim(1) ColDim(1)] = size(TestOutput);
[RowDim(2) ColDim(2)] = size(ExpectedOutput);
RowDimMax = max(RowDim);
ColDimMax = max(ColDim);
TestOutput(RowDimMax + 1 ColDimMax + 1) = 0;
ExpectedOutput(RowDimMax + 1 ColDimMax + 1) = 0;
% then we can compare the two
SucceedPrompt = sprintf(‘+++++++++++++++++ [PASSED] %s test ++++++++++++++++++‘ TestName);
FailedPrompt = sprintf(‘+++++++++++++++++ [FAILED] %s test ++++++++++++++++++‘ TestName);
Succeed = 0;
Failed = 1;
TestRet = Failed;
if (TestOutput == ExpectedOutput)
disp(SucceedPrompt);
TestRet = Succeed;
else
disp(FailedPrompt);
TestRet = Failed;
end;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1227 2008-07-07 11:39 CHECK_EQUAL.m
文件 1254 2008-07-07 11:39 GetPolyTestSampleStu.m
文件 1384 2008-07-07 11:39 GetRsCoDecodeTestSampleStu.m
文件 898 2008-07-07 11:40 GetRsCodeParam.m
文件 870 2008-07-07 11:40 GetSymbolTestSampleStu.m
文件 6427 2008-07-07 11:40 RsCodingUnitTest.m
文件 1695 2008-07-07 11:40 RsChannel.m
文件 674 2008-07-07 11:40 RsSymbolAdd.m
文件 686 2008-07-07 11:41 RsSymbolSub.m
文件 735 2008-07-07 11:41 RsSymbolMul.m
文件 618 2008-07-07 11:41 RsSymbolDiv.m
文件 506 2008-07-07 11:41 RsSymbolRev.m
文件 692 2008-07-07 11:41 RsPolySub.m
文件 744 2008-07-07 11:42 RsPolyAdd.m
文件 759 2008-07-07 11:42 RsPolyMul.m
文件 980 2008-07-07 11:42 RsDecodeCalcSynd.m
文件 1648 2008-07-07 11:42 RsDecodeIterate.m
文件 1009 2008-07-07 11:42 RsDecodeRoot.m
文件 1459 2008-07-07 11:43 RsDecodeForney.m
文件 780 2008-07-07 11:43 RsEncode.m
----------- --------- ---------- ----- ----
25263 21
相关资源
- RS码实现从GF域到数域
- SAR原始数据成像算法_RD,CS算法
- RS码MATLAB仿真
- Matlab计算遥感图像熵,清晰度和相关
- 《无人驾驶车辆模型预测控制》书中
- Matrix_inversion_Multiuser_MIMO
- RSIHE RSIHE算法(Recursive sub-image histog
-
Matlab ba
sed DIC code Version 1 130814 - 多个目标定位的基本算法仿真
- inverse problem反演问题matlab程序
- MT_inversion 大地电磁最小二乘光滑约束
-
基于CARSIM和SIMUli
nk对ABS的仿真教程 - 数学形态学检测R波 matlab
- Setup-Subversion-1.8.14_x64
- MT4 BOLL+RSI三周期共振(源码
- ECG信号的读取与QRS波检测
-
CarSim、Simuli
nk联合仿真介绍及 - SIRS模型传染曲线生成代码
- matlab RSSI 算法
- Spatial Econometrics MATLAB 软件包是将New
- 最新的基于核的相关滤波跟踪法(C
- robot Inverse Kinematics
- RSSI的无线定位matlab代码
- ESPRIT DOA算法的稀疏表示求解(L1 SRA
- nonlocal-level-set [SIAM]Nonlocal Active Conto
-
FBS 基于carsim的ABS simuli
nk模型 - pmsg-IGBT-RSC-GSC-chopper
- Power-Converters--smart-instruments
- SparseAutoencoder MATLAB实现的深度学习自
- matlab实现的NRSS算法
评论
共有 条评论