2008a
Matlab script to read KML files into a mapstruct structure array and offers the option of writing to a Shapefile. KML files must be of a uniform type: Point, LineString, LinearRing orPolygon. The output contains 5-6 fields, 'Geometry', 'X', 'Y', 'altitude', 'Id' and 'name'. The final field is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): KML-Matlab-Shapefile conversion Download |
This is an extremely fast implementation of the famous Hungarian algorithm (aslo known as Munkres' algorithm). The new version (V2.2)is about 1.5 times faster than the old version (V2.1). It can solve a 1000 x 1000 problem in about 20 seconds in a Core Duo (T2500 @ 2.00GHz) XP laptop with Matlab...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Hungarian Algorithm for Linear Assignment Problems (V2.2) Download |
These tutorials, created using Matlab's publishing tools, cover the following topics in depth: getting started, the matrix, functions, flow of control, debugging & profiling, strings, cells, structs, plotting, the symbolic toolkit, calling external code, and object oriented programming using the...
Platforms: Matlab
License: Freeware | Size: 1.17 MB | Download (46): Matlab 2008a Advanced Tutorials Download |
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files and associated published HTML reports for code...
Platforms: Matlab
License: Freeware | Size: 112.64 KB | Download (46): What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples Download |
GetFullPath - Get absolute path of a file or folder nameThis function converts a partial or relative name to an absolute full path name. The fast Mex works on Windows only (sorry), but the M-file runs on Windows, MacOS and Unix.FullName = GetFullPath(Name)INPUT: Name: String or cell string, file...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): GetFullPath 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 |
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 |
A Lambert-orbital boundary value problem can be stated as"Find the orbit/trajectory of a spacecraft that flies from position [r1] to [r2], taking a time [tf] and making [m] complete orbits before arriving at [r2]. "The solution to each Lambert-problem is NOT unique; one can travel to [r2] via the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Kepler State Transition Matrix (MEX) Download |
A Lambert-orbital boundary value problem can be stated as"Find the orbit/trajectory of a spacecraft that flies from position [r1] to [r2], taking a time [tf] and making [m] complete orbits before arriving at [r2]. "The solution to each Lambert-problem is NOT unique; one can travel to [r2] via the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Robust solver for Lambert's orbital-boundary value problem Download |
mlunit_2008a originally began as an update to mlUnit (http://sourceforge.net/projects/mlunit/http://sourceforge.net/projects/mlunit/), also available from MATLAB Central file exchange. The purpose was to add support for the new "classdef" style classes in MATLAB 2008a. However, I got a bit...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (48): mlunit_2008a Download |
mPlot is an enhanced plotting engine that extends the basic plotting functionality delivered with Matlab. The purpose of mPlot is to consolidate daily plotting and formatting tasks into a single, easy-to-use object. Provided within the class are both high-level and low-level functionality. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): mPlot - Enhanced Plotting Engine Download |
This function takes clustering data and plots it, if the data is 2d or 3d. The inputs are:An m-by-d matrix of data points, where d is the number of dimension and m the number of data pointsAn m-by-1 vector of indices that associate each data point with a cluster.Optional inputs:A c-by-d matrix...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): PlotClusters.m Download |
Two colour scheme that resemble MATLAB's default with several additions (including light and dark background versions) These colour schemes are based on Ian Langworth's "tolerable.vim", and modified to resemble MATLAB's default colours on a light and dark backgrounds. The colours are easily...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (48): Highlighting Matlab files in Vim Download |
C-Mex: anyEqThis is a simple but fast check, if two arrays contain any common element.If no common element is found, the C-Mex is 30% to 50% faster than the equivalent Matlab expression "any(X(:) == y)" and much faster than "any(ismember(X, Y))" if Y is an array.If a matching element is found...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): anyEq Download |
The Berkeley Wavelet Transform (BWT) comprises four pairs of mother wavelets at four orientations. Within each pair, one wavelet has odd symmetry, and the other has even symmetry. By translation and scaling of the whole set (plus a single constant term), the wavelets form a complete, orthonormal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (52): Berkeley Wavelet Transform Download |
This layout manager is based on MATLAB Central File Exchange entry "Resizable MATLAB figures" by Malcolm Wood.Uses new Matlab class system avalable from R2007b/2008a.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Yet Another Layout Manager Download |
layout.GridBagLayout is a MATLAB class which controls layout and resize of a figure/uipanel/uicontainer. This class helps the MATLAB GUI developer design complex Graphical User Interfaces without the need for calculations or complex code for performing initial layouts or writing resize...
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (47): GridBagLayout Download |