- 博客(15)
- 资源 (4)
- 收藏
- 关注
原创 基于最小二乘法的C++二次抛物线拟合
////a0x^2+a1x+a2 = y//r:相关系数^2bool Parabola(double* x, double* y, int n, double* a, double* r){ const int CURVE_INDEX = 3; double B[CURVE_INDEX]; double **A =new double*[CURVE_INDEX];
2011-11-23 12:46:42
5538
2
原创 基于C++的n阶线性方程组Ax=b求解
const double EPSILONG = 0.001;////列主元方法求解n阶线性方程组Ax=bbool Solve(double** A, double* b, double* x, int n){ double** M = new double*[n]; for (int i=0; i<n; i++) { M[i] = new double[n+
2011-11-23 11:51:23
3677
1
原创 C# 显示注释 Documentation summary
XML Documentation in C#Anson Horton, C# Compiler Program ManagerC# supports the creation of XML Comments, allowing developers to quickly
2011-10-08 21:04:18
2420
转载 Microsoft C++ AMP Accelerated Massive Parallelism
Microsoft's C++ AMP Unveiledhttp://drdobbs.com/windows/231600761Over the past few years, some developers have started to take advantage
2011-09-30 09:29:37
1136
原创 linux 下安装软件的那点事儿
Understanding software Installation (configure, make, make install)This tutorial is aimed at those who have just started using Linux. Generally when users fro
2010-02-25 12:58:00
620
转载 用Eclipse开发QT4的C++程序
用Eclipse开发QT4的C++程序 如何安装 我用的平台是Ubuntu904,在Ubuntu下安装QT4的相当简单的事情:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.
2010-01-25 11:12:00
1200
原创 基于C#的Kalman滤波器
最近项目用到了kalman滤波器,由于是.NET平台的,原来的OpenCV的那套东西不能用了,还好灵光乍现,开源就是好啊!花了一个小时将CvKalman用C#进行实现,解决了!其中的Matrix运算采用了优快云下载频道的“C#矩阵库”。 using System;using System.Collections.Generic;using System.Text;
2009-09-24 22:00:00
10183
8
原创 Causal filter
In signal processing, a causal filter is a linear and time-invariant causal system. The word causal indicates that the filter output depends only on past and present inputs. A filter whose
2009-09-05 10:21:00
1581
原创 数字信号处理 Digital Signal Processing 有限冲击响应FIR 无限冲击响应 IIR
【Matlab】The primary advantage of IIR filters over FIR filters is that they typically meet a given set of specifications with a much lower filter order than a corresponding FIR filter.IIR滤波器相对于FIR滤波器
2009-08-05 22:55:00
1441
原创 const in C++
C++中的const真是灵活,灵活到让人眼花缭乱,而看牛人写的程序,const又如此之多! 唉,虽然比较麻烦,可还是值得深入研究一下子。 看如下类及其函数: class ConstNB { const int ii; int* iiPtr; public: ConstNB(int i) : ii(i) {} ~ConstNB(){} const int* cons
2007-06-13 23:23:00
686
原创 DataGrid中文本框联动问题
DataGrid中文本框联动问题这是一个比较常见的场景:DataGrid存放物品的列表,一个列中是一个文本框,存放物品的价格一个列中也是一个文本框,存放物品的数量最后一列中的文本框中存放总价,要求价格不变,修改物品的数量,相应物品的总价随着改变。解决:1 三个模版列:PriceTextBox, QuantityTextBox, MoneyTextBox2 DataGrid的ItemDataBoun
2007-03-23 16:52:00
1040
原创 T-SQL MD5算法实现
/***************************************************************************** * Name: T-SQL MD5算法实现 * Author: Rambo Qian * Create Date: 2003-04-10 * Last Modified by: Rambo Qian * Last Update Date: 2
2007-03-18 14:32:00
896
原创 for循环语句的bug?
我写了如下程序,运行怎么没有反应,难道FOR循环有时间限制?double GetMax(int *array, DWORD size){ double maxG = 0, currentG; for(int h1=0; h1 { for(int h2=0; h2>h1; h2--) { currentG = 0; f
2006-10-08 21:49:00
978
2
原创 第一回 三藏回归
话说那日,唐三藏挥泪惜别女儿国王,与三位徒弟踏上西天取经之路。那一日,经过一个山口,突然吹来一阵阴风,三藏的“头盔”被吹落,随风而落的,还有一封信: 相见难别亦难,怎诉这胸中语万千 我柔情万衷,他去志更坚 只怨今生无缘 道不尽声声珍重,默默地祝福平安: 人间事常难遂人愿,且看明月又有几回圆 远去也远去也,从今后梦萦魂牵 看罢,三藏心怀惆怅,泪流满面。“徒儿们!为师不与你们同行了!”勒马回头,朝女儿
2006-04-16 22:20:00
863
原创 在ASP.NET 自定义控件中使用UniqueID
在ASP.NET 自定义控件中使用UniqueID,可以避免因在同一页面重复引用时的ID冲突。
2005-06-29 12:59:00
1128
Objective Image Quality Measure Derived from Digital Image Power Spectra
2013-01-23
Matrix库用于实现Kalman滤波
2012-08-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人