Closed Polyline
InPolyedron detects points inside a manifold closed surface (even non convex ones). The normal orientation is assumed to be outwards. Warning there is no check for closed surface or normal orientation, open surfaces will give nonsense results.In the limit of numerical accuracy, points lying on...
Platforms: Matlab
License: Freeware | Size: 727.04 KB | Download (39): INPOLYHEDRON TEST Download |
Given a neural network object, this function returns the closed, symbolic, expression implemented by the network (as a string).This allows you to use a neural network model without relying on the neural network toolbox.Note I only implemented for feed forward nets (MLPs) and not all possible...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Neural Network Symbolic expression Download |
Gets the Volume enclosed by the surface defined by p,t,tnorm. The surface must be closed and manifold, there is no check for this.The algorithm compute the volume of 3 tetraedrons for each triangle. The normals orientation define the sign of volume, it is just a numerical integration.
Platforms: Matlab
License: Freeware | Size: 614.4 KB | Download (42): VOLUME ENCLOSED BY A TRIANGULATED SURFACE Download |
SimMechanicsd-OC?D? in conjunction with SimulinkdlT« and MATLABdlT« allows engineers to create complicated mechanical models, analyze the models, and develop controllers for the mechanical system. In this technical example, we examine how to use SimMechanics, MATLAB and Simulink to model...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (44): Stewart Platform Mechanical System Download |
Sometimes it is important to be able to estimate the peak of a sampled continuous function between the samples. This is called subsample peak interpolation and is used in radar, delay estimation, and communication. Typically one fits a model to the sampled data and then finds the maximum of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Peak Interpolation Download |
The effect of fixed-point arithmetic in 16-bits PID controller C routineson the closed-loop precision is shown in this Simulink model.Two Simulink blocks that implement single and doubleprecision 16-bits PID C routines are generated with the LCT. The C sourcesare supplied for user modifications...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (54): 16-bits fixed-point PID implementations in C Download |
This simulation illustrates the effects of the fixed-pointcomputations on the closed-loop precision for a 16-bits PID controller.The rounding mode, the point where the truncations take place and theformat width for the internal variable have a significant action on theclosed-loop permanent...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): 16-bits fixed-point PID controller Download |
Frequency response signal analyzer for linear and non-linear control loops and dynamic systems. Simulink model. Sine sweep based similar to dynamic signal analyzers for physical systems. User specifies: freq limits, freq decrement, averages, phase criteria for moving to next frequency, start...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Dynamic Signal Analyzer Download |
This collection contains M-files intended for design of the Mass/Damper/Spring control system using the newly available functions from Robust Control Toolbox,version 3. Description of the system and version of the files using functions from mu-toolbox can be found in the book ?Robust Control...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): Robust control design of the Mass/Damper/Spring system Download |
Two scripts are included here.1. convsys.m - combines the state space representation of two systems connected in series. [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2) This algorithm gives the convolution of two state space representations | A1 B1 | | A2 B2 | u ==> | | ==> | | ==> y | C1 D1 | |...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): State Space Convolution Download |
The purpose of Input Shaping is to filter out big changes (typically steps) in the reference signal of a closed-loop system which excite all the modes of the plant causing relevant snap overshoots and oscillations in the response.The underlying working principle is to apply the step in subsequent...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (55): GA-tuned Input Shaper Download |
Creates a widget, which adds a contact form using either a floating, drop down button or a sticky, sliding tab. Can handle multiple forms on each page and the location of the floating button or sliding tab can be easily set from the widget control panel.Each form includes up to 3 text input...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 102.4 KB | Download (38): Slick Contact Forms Download |
Applied Scientific Instrumentation makes a closed-loop servo control system for microscope stage movement called the MS2000. It has a simple serial port interface for reading current X, Y, and Z position of the microscope stage and setting them to new positions. This is a basic GUI to demonstrate...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): ASI Microscope Stage Mover Download |
These two functions impliment the system of elliptical Fourier shape descriptors first described by Kuhl and Giardina in "Elliptic Fourier features of a closed contour" Computer Graphics and Image Processing 18:236-258 1982. fEfourier is the forward transform which creates a "shape spectrum" of a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Elliptical Fourier shape descriptors Download |
See paper "Minimum settling time control design through direct search methods" (preprint on http://arxiv.org/abs/1109.5966) by the same author.The settling time of a closed-loop response, depending on controller parameters, is an objective function not only non-smooth but actually discontinuous....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Minimum settling time control design through direct search optimization methods Download |
ReadImageJROI - FUNCTION Read an ImageJ ROI into a MATLAB structureUsage:[sROI] = ReadImageJROI(strFilename)[cvsROIs] = ReadImageJROI(cstrFilenames)[cvsROIs] = ReadImageJROI(strROIArchiveFilename)This function reads the ImageJ binary ROI file format.'strFilename' is the full path to a '.roi'...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Import ImageJ ROIs Download |
% Based on - A simple method for fitting of bounding rectangle to closed regions - D. Chaudhuri a , A. Samal b.% fit_rectangle - Function provides a least squares fit to the% given boundary points of an object of unknown shape.%% Inputs - Boundary elements that must be a Nx2 array. (atleast 3...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Least squares fit of a rectangle to a given shape/boundary Download |
dpsimplify uses the recursive Douglas-Peucker line simplification algorithm to reduce the number of vertices in a polyline according to a specified tolerance. The algorithm is also know as Iterative Endpoint Fit algorithm. dpsimplify can handle polylines and polygones in 2d and higher...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Line Simplification Download |
This is a simple matlab file to solve Jackson Networks inputing the transaction matrix, processing rates and max number of jobs in the system.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (43): Closed Jackson Networks Download |
There is no closed form expression for probability of error evaluation of ML equalizers and hence numerical techniques have to be used.The programs contributed in this submission can be used for calculating the probability of error of ML equalizers for 2D and 3D signal constellations.Here,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (39): Exact BER Evaluation of ML equalizers Download |