法國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
I built the Superlist control whilst developing an RSS reader called FeedGhost. Although there are plenty of commercial grouped list controls available I wanted to have total control over the code and of course its usability. Superlist supports drag drop column customisation, grouping as well as handling thousands of entries smoothly. It s also highly customisable if you want to change its look and feel. In this article I ll explain how to use and extend the control in a demo project. If you download the source, you can find demo project under the Tests/SuperListTest directory.
ofdm信道特性
Channel transmission simulator
Channel transmission simulator
%
% inputs:
% sig2 - noise variance
% Mt - number of Tx antennas
% Mr - number of Rx antennas
% x - vector of complex input symbols (for MIMO, this is a matrix, where each column
% is the value of the antenna outputs at a single time instance)
% H - frequency selective channel - represented in block-Toeplitz form for MIMO transmission
% N - number of symbols transmitted in OFDM frame
%
% outputs:
% y - vector of channel outputs (matrix for MIMO again, just like x matrix)
% create noise vector sequence (each row is a different antenna, each column is a
% different time index) note: noise is spatially and temporally white
* The keyboard is assumed to be a matrix having 4 rows by 6 columns. However, this code works for any
* matrix arrangements up to an 8 x 8 matrix. By using from one to three of the column inputs, the driver
* can support "SHIFT" keys. These keys are: SHIFT1, SHIFT2 and SHIFT3.
This software is a Matlab implementation of restricted sampling from Gaussian distribution, and sample x (column vector) from N(x_mu, x_var), restricted in x_min<=x<=x_max.
本文檔介紹了如何使用各種內嵌工具,函數和其他一些小技巧來加強使用matlab的速度和效率,是廣大愛好者必讀的文檔。具體內容請參閱文檔。
Learn how to use the Profiler tool, vectorized functions, and other tricks to writing efficient MATLAB code. This article includes how to convert any array into a column vector, bounding a value without if statements, and repeating/tiling a vector without repmat.
Contents:
* The Profiler
* Array Preallocation
* JIT Acceleration
* Vectorization
* Inlining Simple Functions
* Referencing Operations
* Numerical Integration
* Signal Processing
* Miscellaneous Tricks
Traveling Salesperson Problem
Our branch-and-strategy splits a branch and bound solution into two groups:
one group including a particular arc and the other excluding this arc.
1.Each splitting incurs a lower bound and we shall traverse the searching tree with the "lower" lower bound.
2.If a constant subtracted from any row
or any column of the cost matrix, an
optimal solution does not change.
Playfair Cipher
1.not even the large number of keys in a monoalphabetic cipher provides security
2.one approach to improving security was to encrypt multiple letters
3.the Playfair Cipher is an example
4.invented by Charles Wheatstone in 1854,but named after his friend Baron Playfair
Playfair Key Matrix
1.a 5X5 matrix of letters based on a keyword
2.fill in letters of keyword (sans duplicates)
3.fill rest of matrix with other letters
Encrypting and Decrypting
-plaintext is encrypted two letters at a time
1. if a pair is a repeated letter, insert filler like X’
2. if both letters fall in the same row, replace each with letter to right (wrapping back to start from end)
3. if both letters fall in the same column, replace each with the letter below it (again wrapping to top from
bottom)
4. otherwise each letter is replaced by the letter in the same row and in the column of the other letter of the pair
This is program with source code to convert ascii text files to the maxicode barcode standard.
The input file consists of two columns. The first column represents a code and the second column is a string enclosed in quotes. The
codes for the first column are as follows: PM, SM, CC, MO, SC, and PC.