A contour of a 2D region is defined by an ordered set of points where the neighboring elements contain the neighboring points. Such representation can be obtained with many techniques such as boundary tracing and chain codes. (In a simple 2D point set or a curve the points do not have to lie in a specific order.)
The contour smoothing is done by projecting all the contour points onto the local regression line. For each point, N...
This is the power prediction analysis demo that was used in the "MATLAB for Excel Users" webinar. You can view the webinar at:
http://www.mathworks.com/wbnr37971
This demo requires only MATLAB, Statistics Toolbox,...
This module provides some tools for managing blocks in Drupal using ctools plugins. This can be very handy for maintaining a large number of blocks in a more sane way by way of include files and simple plugin definitions.
There are two...
Thee purpose, 1. Speed up the convergence of correcting for each points (By newton method). 2. To find the first few points by this method instead of R.K. method. 3. To apply for higher order polynomial fitting.
Implementation of the well known Haralick Edge Detector. Here are the steps of the algorithm : (1) Fit a bi-cubic polynomial to a small neighborhood of each pixel (this step provides smoothing too). (2) Compute...
SPtrack is a GUI (Graphical User Interface) based program written in Matlab which is used for tracking single particles and finding Diffusion properties. It works on Matlab 6 and above platforms and requires the Image Processing Toolbox and the...
This file explains how to run the demo shown in the July 2005 MATLAB Digest Article "Improving an Engine Cooling Fan Using Design for Six Sigma Techniques." You will need MATALAB, Statistics Toolbox, Curve Fitting Toolbox, and...
Co-authors Saed Al-Niad-deOaoemi and Mushtaq Al-Jubbori This software is a result ofnew empirical parameterization describing the protons and alpha particle track profile development against etching time and particle energy is presented. The...
This is the fastest (though not most accurate) method of fitting a circlle to data points on a plane (given by their xy-coordinates). It returns the circle center (a,b) and radius R. It was proposed by I. Kasa in article "A curve fitting...
makestereofig is a standalone script for converting .fig files containing 3D Cartesian plots of z as a function of x and y to .jpg images of the same plot in anaglyphic (red-cyan) stereo. The compressed archive contains the top level script...
This is a demo of MATLAB Builder for Excel. This demo explains how one can compile MATLAB code into an Excel based COM component using MATLAB Excel Builder and use the same in Excel VBA. This demo compiles a MATLAB code that depicts a curve...
There is no selection in Curve Fitting Toolbox that the property of the plot could be changed, for example, log plot, loglog plot. This is useful expecially when you are fitting a log or exponential curve. Help included.
Function accepts size distribution in the form of two vectors: mesh size (d) and cumulative percent material retained R(d).
Example: d = [0.08 0.50 1.25 2 4 6.3 8 12.5 16 40] Rd = [95.61 87.71 82.45 79.78 73.28 66.98 63.21...
When interpolating on a given data set, convhull is used to set the boundaries of the interpolation area. Because convhull only minimizes the outline length, there might be interpolation lines which are unwanted (see figure).
hullfit...
Features: + graphing 2D/3D functions + min/max 3D functions + zeros 2D functions + graphing data set + curve fitting data set + lagrange polynomail of data + mean,median, standard deviation of selected column of...
Often, measured data is comprised of N sampled values of z, evaluated at N locations (x,y). With this function, you can calculate the coefficients of the best-fit x,y polynomial using a linear least squares approximation.
You can use...
This is an embarrassingly simple function to augment the currently available MATLAB colormaps. It works as a seamless replacement for the current maps like jet and hsv. So to use it you just call colormap(othercolor('colorname')). The function...
This is a helper module to address some problems in Drupals language behaviour. What it is about
The idea for this module comes from issue #163165. I just don't like how Drupal behaves and so I made a module to address that issue....
This particular hybrid genetic optimizer is referenced from: J Hu "Radio Frequency Front-End Measurement and Modeling," Ph.D. dissertation, North Carolina State University, Raleigh NC, 2011. It's used in fitting a RF power amplifier...
This submission is for Matlab beginners.
After I post my tools on surface recostruction I received many e-mails of people asking what is the best way to get a surface from 3D scatter. Most of them (about 90%), show to me surfaces... |