matlab
matlab mep
mep creates epochs (0|1) in a logical array according to a list of indices (begin:end). more>> matlab mep is a program that helps with creating epochs (0|1) in a logical array according to a list of indices (begin:end).
Creates - completely vectorized - a logical array/vector with epochs/intervals set to according to a list of indices of the form:
begin = [b1 b2 ... bN]
end = [e1 e2 ... eN]
where s and s may overlap or be included within each other.
lvec=[b1:e1 b2:e2 ... bN:eN]
itself can be used to retrieve/assign values from a numerical construct, eg,
vec(1,2,lvec)=nan;
help mep
vix = mep(v,ixb,ixe)
vix = mep(v,[ixb;ixe])
to create epochs
returns in VIX a array with epochs set to
true: ixb(1)->ixe(1) ... ixb(N)->ixe(N)
false: otherwise
correctly handles epoch overlaps/inclusions/reversals
v: vector (to size VIX, is not changed)
ixb: list of indices BEGIN epoch
ixe: list of indices END epoch
% examples
z=zeros(1,10);
vix=mep(z(1,:),[1 5],[3 10]);
z(1,vix)=1
% 1 1 1 0 1 1 1 1 1 1
z=zeros(1,10);
vix=mep(z(1,:),[2 3 2 6 9],[2 3 4 7 10]);
z(1,vix)=1
% 0 1 1 1 0 1 1 0 1 1
z=----------;
vix=mep(z,[[1 3 6];[4 4 8]]);
z(vix)=
% - --
Requirements: MATLAB Release: R13
TCP/IP Communications in Matlab
This is a simple TCP/IP communications application written in Matlab more>>
TCP/IP Communications in Matlab is considered as a simple yet useful TCP/IP communications application written in Matlab. The script relies in MATLABs ability to call Java code snippets and make use of its TCP/IP implementation.
One Matlab session can communicate with another Matlab session (on the same machine or over the network) or it can communicate with a completely different program (again, on the same machine or over the network).
Requirements:
- MATLAB 7.8 or higher.
Matlab-GUI equity derivative calculator
Matlab-GUI equity derivative calculator - equity derivative calculator using matlab GUI more>> <<less
Updating MATLAB figure inserted on a Excel Sheet
Updating MATLAB figure inserted on a Excel Sheet is such a smart and useful MATLAB script that can be used to insert an automatically updating MATLAB figure to an Excel sheet by writing the figure to the a temporary file, and by copying that to the Excel sheet using VBA. more>>
Updating MATLAB figure inserted on a Excel Sheet is such a smart and useful MATLAB script that can be used to insert an automatically updating MATLAB figure to an Excel sheet by writing the figure to the a temporary file, and by copying that to the Excel sheet using VBA.
ImProc application created with MATLAB Compiler and Visual Studio
ImProc application created with MATLAB Compiler and Visual Studio is created as a very smart and useful function that will integrate a MATLAB generated C++ DLL with a Visual Studio MFC application. more>>
ImProc application created with MATLAB Compiler and Visual Studio is created as a very smart and useful function that will integrate a MATLAB generated C++ DLL with a Visual Studio MFC application. Try it and you will see how it creates a simple application for image viewing and processing, and how it adds some MATLAB image manipulation and analysises functionality to it through a MATLAB Compiler generated DLL.
<<lessSSTSLAB
SSTSLAB - Simple Space Tether Simulation Laboratory more>>
SSTSLAB is an effective tool which provides you a simple Space Tether Simulation Laboratory. This tool is totally free.
Major Features:
- It is a simulation tool for matlab/simulink, the current version is a beta version, it need more test work to make sure that the results are acceptable accurate.
- Set the SSTSLAB folder as the current work path of MATLAB, which includes the following files: No. File Name Description
- 1 SSTS_Contents.m Contents for SSTSLAB
- 2 SSTS__lib_math.mdl Some math blocks for tether simulation
- 3 SSTS__tether_dumbbell.mdl Dumbbell tether simulation
- 4 SSTS__tether_dumbbell_replot.m Plot figures for dumbbell tether
- 5 SSTS__tether_MMET_I.mdl MMET-I tether simulation
- 6 SSTS__tether_MMET_I_replot.m Plot figures for MMET-I
- 7 SSTS__tether_MMET_II.mdl MMET-II tether simulation
- 8 SSTS__tether_MMET_II_replot.m Plot figures for MMET-II
- 9 SSTS__tether_MMET_II_discrete_number_case.mdl Discrete point mass case for MMET-II
- 10 SSTS__tether_MMET_II_U_energy_plot.m Plot potential energy difference between concrete & discrete MMET-II model
- 11 SSTS__tether_MMET_II_discrete_number_sfunction_I.m Discrete point masses s-function I for MMET-II
- 12 SSTS__tether_MMET_II_discrete_number_sfunction_II.m Discrete point masses s-function II for MMET-II
- 13 SSTS__tether_MMET_II_discrete_number_sfunction_III.m Discrete point masses s-function III for MMET-II
- 14 SSTS__tether_MMET_II_discrete_number.m To calculate the location of each point mass within the tether for MMET-II
- 15 SSTS__ln_function_singularity_plot.m To plot singularity for ln() function
- 16 SSTS__clear.m To clear all data and figures in workspace
- 17 SSTS__plot_orbit_position.m To plot the position function of orbits( cycles ) as follows: R(theta) =rp*(1 e)/(1 e*cos(theta))
- 18 SSTS__plot_orbit_position3d.m To plot the position function of orbits( cycles ) as follows: R(theta) = rp*(1 e)/(1 e*cos(theta)) in 3D figure
- 19 Jpg files To support mdl files
DataTable
DataTable is a useful tool which can store data in a table format that is easily expandable, manipulatable and that supports printing in a variety of formats (plain text, Latex, HTML, Wiki; new more>>
DataTable is a useful tool which can store data in a table format that is easily expandable, manipulatable and that supports printing in a variety of formats (plain text, Latex, HTML, Wiki; new printing formats can be added without changing any code). The format of numeric table contents (e.g. number of displayed digits) and the alignment of text and numbers can be changed for each column individually.
To use, extract zip-archive and add the extracted folder ('datatablepackage') to your matlab path.
Requirements: the new object-oriented programming in MATLAB 7.6 (R2008a) or higher
<<less
Aselfpack
Aselfpack offers you a handy and extremely useful tool which creates a single matlab self-extract p or m file with all the contents of a selected folder(including subdirectories). more>> Aselfpack offers you a handy and extremely useful tool which creates a single matlab self-extract p or m file with all the contents of a selected folder(including subdirectories). This product will be an excellent choice for everyone!<<less
image2data
image2data will makes you pleasant with its MATLAB script that can convert a bitmap image to numerical data. more>>
image2data will makes you pleasant with its MATLAB script that can convert a bitmap image to numerical data.
Data can be extracted from an image using a color bitmap and a horizontal colorbar, with all color levels ranging from left to right. The colorbar is used to generate an equivalent set of gray levels and the RGB components are properly converted to gray levels. Afterwards gray values are properly scaled to the interval of numerical values specified by the user. This tool can be used to recover numerical data from digital images when the original data is not available.
FACTORIALM
FACTORIALM provides you with an excellent and very useful extension of factorial.m in Matlab R13 which is designed for matrices. more>>
FACTORIALM provides you with an excellent and very useful extension of factorial.m in Matlab R13 which is designed for matrices. It is inspired by a post on CSSM. F = FACTORIALM(M) returns the factorial for all integers of the matrix M. So,F(i) is the product of all integers from 1 to M(i), i.e. prod(1:M(i)). F has the same size as M. NaNs and Infs in M will yield NaNs in F.
factorialm([1 6 0 ; NaN 4 -Inf])
will return : 1 720 1
NaN 24 NaN
Use a hash table
Use a hash table is considered to be a versatile MATLAb function that wraps the Java hash table class. more>>
Use a hash table is considered to be a versatile MATLAb function that wraps the Java hash table class. Class Hashtable provides ways for Matlab users to access hash tables data structures.
SD Toolbox
SD Toolbox - Set of Simulink models for the simulation of sigma-delta modulators. more>> SD Toolbox provides you a powerful application which contains a set of Simulink models for the simulation of sigma-delta modulators.
This toolbox includes a complete set of blocks implemented in the Simulink environment, which allows designers to perform time-domain behavioral simulations of switched-capacitor sigma-delta modulators.
The proposed set of blocks takes into account most of the SC sigma-delta modulator non-idealities, such as sampling jitter, kT/C noise and operational amplifier parameters (white noise, finite dc-gain, finite bandwidth, slew-rate and saturation voltages).
Requirements:
- MATLAB Release: R10
- Simulink
Fast FLAC Reader
This MATLAB audio script is a Lossless FLAC reader with an interface compatible with Wavread more>>
Fast FLAC Reader designed to be a powerful script uses the flac command line tools for reading a FLAC file. MATLAB audio script is a Lossless FLAC reader with an interface compatible with Wavread. The scripts blends and uses the current Wavread interface.
Major Features
- Raw file generation, for faster loading
- Native and double output
- size query
- Range decoding [from to]
- Flac and metaflac allowed locally or in PATH
- Multiplatform without dependencies on Windows
Requirements:
- MATLAB 7.6 or higher

mweka
mweka offers you an useful and simple-to-use script which runs the weka classifiers and displays the results in MATLAB. more>>
mweka offers you a useful and simple-to-use script which runs the weka classifiers and displays the results in MATLAB.
Major Features:
- Command line options for running weka
- Demonstrate how to change classifier option using java class (similar to GenericObjectEditor in weka)
- Read and Write ARFF file to/from MATLAB
- Able to select attributes from GUI to test with different input combination
- Show results graphically immediately
- Easy to compare the results graphically for different runs
- Bottom figures of the visualization panels show the dynamic zoom of the upper part
Fractions Toolbox
Fractions Toolbox is such a great and useful MATLAB toolbox that will help to create and manipulate fractions (K+N/D) using exact arithmetic. more>>
Fractions Toolbox is such a great and useful MATLAB toolbox that will help to create and manipulate fractions (K+N/D) using exact arithmetic.
A powerful feature of the toolbox is that the numerator and denominator can theoretically be any data types that accept the standard arithmetic and comparison operations as well as gcd and mod.
If there exists a suitably defined polynomial object, this toolbox could be used to perform partial fraction and series expansions of rational functions.
<<less