资源简介
RS coding program design, including test procedures, coding part, channel, etc., have been tested to run smoothly
![](http://www.nz998.com/pic/42704.jpg)
代码片段和文件信息
%*************************************************************************
% 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
相关资源
- MATLAB Programming for Engineers 4th - Chapman
- MPC路径跟踪
- 3-PRS并联机器人工作空间分析
- 基于RSSI的VIRE定位算法
- matlab2019运动目标检测--数字图像处理
- CARS-PLS 用于光谱数据或色谱数据变量
- CARS matlab 代码
- 用matlab实现RSA数字签名
- matlab实现RSA公钥密码体制
- 竞争性自适应重加权
- 基于RSSI强度、指纹库仿真代码,主要
- matlab开发-MuellerStokesJonesCalculus
- “群体智能算法”Matlab工具箱 Versio
- Sparse Subspace Clustering的论文和源码
- Windows PowerShell 实战指南
- AI Superpowers 英文版 mobi
- RSM算法仿真MATLAB代码
- RS(255239)解码算法,verilog代码以及
- Robust Sparse Coding for Face Recognition
- Bursa_Wolf,布尔莎坐标转换matlab
- Linear Algebra with Applications 9th ed - Stev
- stk-matlab connectors 1.0.4
- 语音信号子带编码matlab程序subband_co
-
Reversible Data em
bedding Using a Differenc - radarsignalanalysisandprocessingusingmatlab.pd
- Understanding LTE with MATLAB(电子书及ma
- a mind for numbers - barbaraoakley学习之道英
- matlab 2014b HDL Coder Users Guide
- Fusiello极线校正_A compact algorithm for r
-
carsim与simuli
nk联合仿真124669
评论
共有 条评论