-
2维数组 截断 追加 测试
应用背景
二维数组的截断和追加并不像TStringList那么简单。在研究二维数组的截断和追加时,写了本例子来研究。提供给有相同问题的后来人参考,代码有点青涩,毕竟是研究算法的的demo,不喜勿喷!
关键技术
二维数组的截断和追加是一个抽象的概念,本demo把它实例化,可以给爱偷懒的程序学习者参考,不足之处欢迎拍砖。{删除动态数组指定元素的过程: 参数 arr 是数组名, 参数 Index 是要删除的索引}
procedure TForm1.DeleteArrItem(Index:Integer);
var
j:integer;
begin
if Length(MyProArr)>1 then
begin
for j := Index to Length(MyProArr)-2 do begin
MyProArr[j,0]:=MyProArr[j+1,0];
MyProArr[j,1]:=MyProArr[j+1,1];
end;
setlength(MyProArr,Length(MyProArr)-1,2);
end else
begin
setlength(MyProArr,0,2);
end;
- 2022-11-15 14:10:02下载
- 积分:1
-
adaboost算法的matlab实现
此文件包是对著名的adaboost算法的一个matlab实现,通过对threshold的加强,adaboost可以获得更好的分类效果。文件包包括以下文件:
1. ADABOOST_te.m
2. ADABOOST_tr.m
3. demo.m
4. likelihood2class.m
5. threshold_te.m
6. threshold_tr.m
- 2022-05-10 12:10:48下载
- 积分:1
-
The use of time
时频分析使用的源代码,希望对大家有用,接着上传!-The use of time-frequency analysis of the source code, in the hope that useful to everybody, and then upload!
- 2022-11-04 01:50:02下载
- 积分:1
-
建立在vibe 基础上的kalman多目标跟踪
建立在vibe算法上,进行前景提取,并用kalman滤波进行多目标跟踪。建立在vibe算法上,进行前景提取,并用kalman滤波进行多目标跟踪。建立在vibe算法上,进行前景提取,并用kalman滤波进行多目标跟踪。建立在vibe算法上,进行前景提取,并用kalman滤波进行多目标跟踪。建立在vibe算法上,进行前景提取,并用kalman滤波进行多目标跟踪。
- 2022-01-27 10:41:56下载
- 积分:1
-
Newton method for solution of non
Newton method for solution of non-linear equations in C
- 2022-07-07 09:50:58下载
- 积分:1
-
椭圆拟合的误差算法,拟合点到椭圆心的距离减去拟合点对应在椭圆上的点到椭圆心的距离,有效分析椭圆拟合的误差问题,并让其在对话框中显示出来...
椭圆拟合的误差算法,拟合点到椭圆心的距离减去拟合点对应在椭圆上的点到椭圆心的距离,有效分析椭圆拟合的误差问题,并让其在对话框中显示出来-The error ellipse fitting algorithm, fitting point to the ellipse center distance minus the corresponding fitting point on the ellipse to the ellipse center point of the distance, the effective analysis of the error ellipse fitting problem, and let it be shown in the dialog box
- 2022-03-18 15:29:28下载
- 积分:1
-
图像的分割
利用IDL语言实现图像的分割算法。本算法利用IDL语言对一幅影像进行处理,首先设定所分类别的数目k,然后进行分割过程。
- 2022-06-28 08:35:28下载
- 积分:1
-
卡尔曼滤波对自由目标的应用
利用卡尔曼滤波对自由落体的目标小球进行跟踪,其中有些视频演示跟踪过程.-The use of Kalman filter to the objective of free-falling ball track, some of which track the process of video presentations.
- 2022-07-12 03:05:29下载
- 积分:1
-
Hidden Markov classic algorithms, as well as generic algorithms, linux environme...
隐MARKOV经典算法,也是通用算法,linux环境,可以移植到windows-Hidden Markov classic algorithms, as well as generic algorithms, linux environment, can be transferred to the windows
- 2023-01-16 17:00:04下载
- 积分:1
-
MEPG4协议编解码算法和源代码、DEMO等
MEPG4协议编解码算法和源代码、DEMO等
- 2022-01-24 17:54:38下载
- 积分:1