Matlabs
This code does not use any for loops and takes advantage of Matlabs internally optimized routines to produce a fast, optimized version of Bresenham's line drawing algorithm
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Bresenham optimized for Matlab Download |
MATLABs most commonly used 3-d plotting tools surf and mesh require rectangular grids to plot in 3-d, not x,y,z triples. This function converts arrays of x,y,z triples into rectangular grids to use with surf, mesh, etc.common usage:[x y z] = xyzplotter(xin,yin,zin)xin,yin,zin are n x 1 arrays...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): xyzplotter Download |
This script takes advantage of Matlabs links with Photoshop to create a 2d transparent scatter plot of your data, which, I believe is not possible at present in Matlab. Although rasterization is not ideal, you can specify any image size in pixels (and point size) with this function. You can also...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): PhotoShop Scatter Download |
This function addresses two of the major shortcomings of the M-Lint report which is available in the MATLAB Directory Browser. Firstly, it will perform a recursive analysis, i.e. the current directory and its subdirectories and their subdirectories etc. Secondly, it allows the user to filter out...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Run M-Lint on a directory tree and filter results Download |
a gui which allow measuring an areas size and a paths length on an image (map).You can calibrate the image scale.You place points using left mouse button and remove points & areas with right mouse button.You have three different methods of measuring the area surface:1. Monte-Carlo.2....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): area measuring Download |
annie stands for Artificial Neural Network Library and is a C++ API (library) for neural network training and execution. ersions exist for both Windows and flavours of Unix (tested on Linux). The library currently has support for training, saving and executing multi-layer perceptron,...
Platforms: *nix
License: Freeware | Size: 409.6 KB | Download (112): annie Download |
Kriging and inverse distance are popular interpolation methods, especially in earth sciences. There are some routines already available on matlab but are severely limited by matlabs memory constraints. By using gstat to handle interpolation and variogram modelling, very large datasets are easily...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Kriging and Inverse Distance Interpolation using GSTAT Download |
% Fast nearest, bi-linear and bi-cubic interpolation for image data%% Usage:% ------% Z = ba_interp2(F, X, Y, [method])%% where method is one off nearest, linear, or cubic.%% F is a WxHxD Image with an arbitrary number of layers D.% X, Y are I_1 x ... x I_n matrices with the x and y coordinates...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1.89 MB | Download (43): Image Interpolation (ba_interp2) Download |
YAPP: Yet Another Parser Parsera highly speed optimized subroutine package- !!!for programmers only!!!- implements the old-style unix argument parsing model, which allows to assign any user-definable number of arguments to an option flag and, therefore, differs slightly from the now common...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): yapp: a pedestrian Yet Another Parser Parser Download |
Gives the area of the polygons that are created from the matlab function C=contour(x,y,z,...); It also gives the centroids (centre of mass) of each polygon. The structure of C delivered by contour is a bit complicated to work with itself, why I developed this matlab function.Syntax:...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Contour2Area Download |
I have long been a fan of the data visualizations done by Martin Wattenberg and Fernanda VidoTegas. Wattenberg created a website in 2007 called Many Eyes - www.many-eyes.com. There he introduced many innovative and beautiful data visualizations for various kinds of data. The Stack Graph is one of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (42): Interactive Stack Graph Download |
This file serves as a replacement for Matlab's kron.m. It contains a more efficient implementation of the Kronecker product for dense, sparse and logical matrices.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Kronecker product Download |
A simple function to write some text string to a file. Usage is the opposite of Matlab's native fileread function.See also "fileappend."-jqw
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): File Write function Download |
Writes 32-bit or 64-bit floating point audio data (single or double) to a .wav file at 8, 16, or 24 bits resolution, using rectangular (RPDF) dithering during quantization to reduce unpleasant audible quantization error. Calling syntax for this function is identical to MATLAB's wavwrite.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): wavdither Download |
XSum - SUM with error compensationThe accuracy of the sum of floating point numbers is limited by the truncation error. E.g. SUM([1e16, 1, -1e16]) replies 0 instead of 1 and the error of SUM(RANDN(N, 1)) is about EPS*(N / 10).Kahan, Knuth, Dekker, Ogita and Rump (and others) have derived some...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): XSum Download |
Extension of the built-in MATLAB function hypot for multiple inputs.MATLAB provides a function called hypot to calculate sqrt(abs(A).^2 + abs(B).^2) in a robust way to avoid underflow and overflow (see http://www.mathworks.com/help/techdoc/ref/hypot.html and http://en.wikipedia.org/wiki/Hypot)....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Recursive HYPOT Function for Multiple Inputs Download |
Function calculates sound pressure level in decibels, given a pressure signal in pascals. SPL_dB = spl(p_Pa,ref)Calculate sound pressure level (in dB) of given pressure signal 'p_Pa'. Input variable 'ref' can be any user-defined reference pressure or simply 'air' or 'water' to use standard values...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Sound Pressure Level Calculator Download |
A game theoretical Matlab toolbox to compute solution schemes and properties from TU-games.The game theoretical Matlab toolbox MatTuGames provides about 60 functions for modeling, and calculating some solutions as well as properties of cooperative games with transferable utilities. In contrast to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 921.6 KB | Download (50): MatTuGames Download |
This function generates mesh plot with 3Dbars at specific (x,y) points by using fill3 function.This function uses MATLAB's fill3.m meant to generate Filled 3-D polygons.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (50): Generating surface plot with bars at specific (x,y) points Download |
Have you ever tried to inspect and modify deeply nested struct/cell variables? Of course, MATLABs variable editor will help to visualise these variables. However, to create such a variable automatically or to change some of the deeply nested fields routinely this submission may be useful.The main...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Generate .m-file code for any MATLAB variable Download |