DATESTR2NUM - Fast conversion of DATESTR to DATENUM
The builtin DATENUM command is very powerful, but if the input is known to be valid and formatted exactly, a specific MEX can be much faster: For single strings DateStr2Num takes > [734318.916122685, 734318.916122685] Equivalent Matlab command (but a column vector is replied ever): D = datenum(C, 'yyyy-mm-dd HH:MM:SS')
Precompiled Mex files:...
finds null space and range of a sparse matrix using lu decomposition.
This routine is devoted to find null space of possibly large matrix fast. Results may be inaccurate if zero and nonzero singular values are not well separated.
unique rows of a 2D matrix - extension of union(...) to pairs of numbers
CSMV calculates distances from a given set of points to a set of linear segments
SYNOPSIS: [squared_distances_to_segments I]=csmv(P,R,Q,to_plot) [squared_distances_to_segments I]=csmv(P,R,Q,...)
INPUT P,R : arrays of...
The program can test the stability of 2-D face of an interval matrix. Copyright (C) Yang XIAO, Beijing Jiaotong University, Aug.2, 2007, E-Mail: yxiao@bjtu.edu.cn. By relying on a two-dimensional (2-D) face test, Ref [1,2] obtained a...
This function compares the day of the week of today to the day of the week passed.
"AsciiMathML compiler" is a translator of AsciMathML, notation developed by the university of Chapman , to MathML (Mathematical Markup Language). It written completely in java, is a API developed by students of the university Carlos III of...
This function normalizes the columns of a given matrix. That is it makes l2 norm of each column to 1.
A small snipet of code to find the determinant of a mtrix of any order.Input must be a list like [[1,2,3],[4,5,6],[7,8,9]] (for a matrix of order 3). Works fine.
The PDF To ImageField module provides functionality of automatic conversion of uploaded PDF files to images. It creates image for every page of source PDF file. Module is implemented as widget for FileField and uses one more ImageField field for...
The program takes the columns of an input matrix and calculates the auto and cross correlation of these columns using an fft method. The result is very similar to the xcorr function. This method could be used to evaluate the cross correlation of...
this code will require the user to specify the size of the H matrix wanted to be generated.
This programs uses a for loops only to calculate the state space parameters and then finds the covariance matrix bu using a for loops then check for the stability of this system by cheking the diagonal of the K matrix by <<1>> if itis...
In this prj we attempt to classify a number of Company Logos by assigning to each 2 distinct signatures extracted by a special horizontal and vertical scan of each image matrix. Each Logo picture is truncated to binary after resizing. This is done...
Sometimes, rows or columns (or both) of a displayed matrix or vector have different meanings, and it would be nice to display them along with the matrix (instead of, say, remembering that the third row holds a given property of a set of data...
SHOWREGIONS(L,N) displays the regions of the label matrix L corresponding to the indices listed in the vector N. L is a label matrix generated by the functions BWLABEL or WATERSHED, and N is a vector of indices (positive integers, and zero).
Auvai is a Java API and Java Swing based application for Text to Speech conversion of Unicode Tamil. Future direction of this API and application is to support Text to Speech conversion for all "Indic" languages.
Designed to aid in the conversion of Python modules to C extension modules while keeping the same interface into the module. This will make it easier to convert existing Python code into C code to give it a speed boost without changing to existing...
Open Source Code Demo of MATLAB Coder converting Hello World M script to C++ file
This is a simple demo of this powerful to demo the conversion of Matlab's M script file to a C++ file for your trading or target platform.
This script can be used for conversion of a variety of units like degrees, Celsius and Fahrenheit, centimeters and inches, meters and feet, kilometers and miles, kilograms and pounds, milliliters to ounces and also regular beers and tall beers.... |