用c8051做的usb鼠標(HID類)Firmware works with the Silicon Labs IDE v1.71 or later and the Keil C51 tool chain. Project and code modifications will be necessary for use with different tool chains.
the attached utility is a work I ve submitted to the university
It shows what a jpeg compression is all about.
the function implements the DCT transform, using a matrix operator.
note that matlab has a function for the DCT and iDCT transforms
that might be more efficient.
Kriging 插值程序,實現二維三維數據插值
Makefile_hp700
Makefile_ibm6000
kriging.mdf
kriging.c
outboard.c
inv_m.tar.gz The inverse matrix source codes which got from Netlib.
f2c.tar.gz The head file and library which are used to inverse matrix source codes.
krig.net The example dx file.
data1.dx The input example.
法國cromda編寫的新版本MATRICE 2(矩陣和矢量運算單元)。
// ----------------------------------------------------------
// 12-01-02 : MODIFIED Matrice to Matrice2 (Delphi 6)
// All routines now operate on rectangular matrix, except (InvMat and SysLin)
// No more need to use the InitMat procedure (suppressed) :
// - the routines detect automaticaly the dimensions of matrix and vector
// - error code MatDimNul is generated if zero lines or column in matrix and vector (See DimensionMatrice and DimensionVecteur)
// - error code MatMauvDim is generated if the dimensions of matrix/vector don t allow valid result
// -
// The result matrix is dimensioned automaticaly
KMEANS Trains a k means cluster model.CENTRES = KMEANS(CENTRES, DATA, OPTIONS) uses the batch K-means
algorithm to set the centres of a cluster model. The matrix DATA
represents the data which is being clustered, with each row
corresponding to a vector. The sum of squares error function is used.
The point at which a local minimum is achieved is returned as
CENTRES.
Probabilistic Principal Components Analysis. [VAR, U, LAMBDA] = PPCA(X, PPCA_DIM) computes the principal
% component subspace U of dimension PPCA_DIM using a centred covariance
matrix X. The variable VAR contains the off-subspace variance (which
is assumed to be spherical), while the vector LAMBDA contains the
variances of each of the principal components. This is computed
using the eigenvalue and eigenvector decomposition of X.
Hybrid Monte Carlo sampling.SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo
algorithm to sample from the distribution P ~ EXP(-F), where F is the
first argument to HMC. The Markov chain starts at the point X, and
the function GRADF is the gradient of the `energy function F.
EKF-SLAM Simulator
This version of the simulator uses global variables for
all large objects, such as the state covariance matrix.
While bad programming practice, it is a necessary evil
for MatLab efficiency, as MatLab has no facility to avoid
gratuitous memory allocation and copying when passing
(and modifying) variables between functions. With this
concession, effort has been made to keep the code as
clean and modular as possible.