Diameter Of A Basketball
While working with a histogram we may need to detect a peak or crest of the histogram.But the histogram contains a number of local minima & maxima which makes the histogram extremely uneven.While detecting a peak or crest we are intended to detect the global peak or crest.This code replaces every...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Removal of unevenness of a histogram Download |
We use a batch column with four theoretical plates to separate a binary mixture of water and methanol at 1 bar. Temperature and concentration profiles versus time are obtained for a reflux ratio equal to 10. In addition, the total moles in the still and distillate are plotted versus time. This...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (52): Separation of a water-methanol mixture using a four stage batch distillation column Download |
function alt_km=ITU_P1511(lat,long)computes altitude of a site at given lat,long coordinatesby means of bicubic interpolation using itu topo 0.5 degrees resolutionmatrix.refer to ITU-R Recommendation P 1511.INPUTSlat: latitude + = North, -=southlong: longitude, positive degrees East.Required...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (54): Altitude in Km above sea level for a given pair of coordinates (lat,long) Download |
The velocity and shear stress versus radial position are determined for laminar flow of a Carreau fluid in a pipe. The shooting method is used to verify the no-slip boundary condition at the piped-deOaos wall. Once the velocity at the center is determined, the governing Differential Algebraic...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Velocity Profile of Laminar Flow of Carreau fluid in a Pipe Download |
The wheeled mobile robot dynamics are studied from standard papers available on the topic and non-linear feedback linearlization is done to reduce the equations of motion to a second order dynamic equation of the error of position of the wheeled robot. AVI file recording is also available for...
Platforms: Matlab
License: Freeware | Size: 2.07 MB | Download (47): Dynamic Control of a Wheeled Mobile Robot Download |
In pattern recognition, and in particular multiple classifier systems, a common problem is to calculate competence of a classifier for a given object. Methods for calculating the competence currently developed are based only on crisp decision of the classifier, i.e. correct/incorrect...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): A probabilistic model of classifier competence Download |
The goal of this demo is to establish a general template for simulating and animating simple assembly lines. In this example, we have two conveyor belts that have motions perpendicular to each other. Furthermore, a package needs to be mounted onto the conveyors and transferred across them as well...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (49): Modeling, Simulation and 3D Animation of a Simple Assembly Line Download |
The velocity and shear stress versus radial position are determined for laminar flow of a power law fluid in a pipe. The shooting method is used to verify the no-slip boundary condition at the piped-deOaos wall. Once the velocity at the center is determined, the governing equation is solved...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (46): Velocity Profile of Laminar Flow of Power Law fluid in a Pipe Download |
The goal of this assignment was to develop a Speed control system for a DC motor. Various control methods were to be employed, both open loop and closed loop. All control methodologies are implemented using MATLAB GUI. The important feature of the system is the auto-calibrate function which...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (45): Speed Control of a DC Motor Download |
A very simple code written by taking help from one of the control systems book. Task was to take a MIMO system where observations are less than states, then to check whether system is controllable or observable, then its design of feedback control loop, then non interacting control, then...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Design of feedback control of a linear system 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 |
This function uses vectorised methods to determine the locations of maxima and minima where they exist within a piecewise spline fit. The matlab built-in functions for determining the maxima and minima, by differentiating the pp spline and finding its zeros (using the Spline toolbox), are quite...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (38): Local maxima and minima of a pp spline Download |
Let us suppose a set of non-linear equations in the formF(m) = d(m,d are vectors, F is a vector function of vector argument). ANNI tries to construct suitable numerical approximation for inverse projection of d to m, i.e. to find numerical form ofG(d) = m.Such mapping may not exist in general,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 276.48 KB | Download (45): ANNI - solver of a set of non-linear equations Download |
This function calculates the percentage of time that a given 3D Matrix exceeds some threshold value.It counts each point along the 1st Dimension that exceeds the threshold and expresses this as a percentage of the length of the 1st Dimension. This is repeated across the 2nd and 3rd Dimensions....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Percentage Exceedence of a 3D Matrix for a Threshold value Download |
X = PARTPERM(A,IDX) randomly permutes the elements of vector A which are specified by vector IDX. That is, the elements A(IDX) are randomly interchanged with one another and the resulting (partially permuted) vector is returned. No permutation occurs when length(IDX) < 2. By default, permutation...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): PARTPERM -- Partial random permutation of a vector Download |
This code solves biot savarts law to evaluate magnetic field from a circular coil at all points in the plane which is perpendicular to the plane of the coil.coil is situated in the X-Y plane centered at origin having radius =6 and we want to evaluate magnetic field at all points in the Y-Z plane....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Magnetic Field of a Current Loop using Biot Savarts Law Download |
LINEINMASK determines portions of the line in and out of a mask [inX inY] = LINEINMASK(XS,YS,BW,XV,YV) computes a the segments of the line specified by verticies XV and YV that are inside the mask BW. Points XS and YS specify the limits (or pixel values) of the coordinates of the matrix BW. [inX...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Fast Parsing of Line Segments in a BW Mask Download |
Say you are only able to obtain a limited number of terms in a power series, as each term is increasingly difficult to obtain (ex. virial equation of state). To explore possible analytic continuations, you need an infinite series representation. A rational function is one way to prescribe this,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Pade Approximant of a trunctated series Download |
Given a DAG in adjacency matrix format, this code will determine the topological ordering of the nodes and, using that ordering, efficiently compute the transitive reduction of the DAG. The package furthermore contains code to generate random non-transitive DAGs as well as derived transitive DAGs...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Transitive reduction of a DAG Download |
I have found the functionality of being able to read data from a .txt file and storing them in a MATLAB matrix as quite useful and needed.Example application: imagine you having some data stored in a .txt file (from some measurements) and you want additionally to process them, visualize or just...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Loader of a .txt file to a MATLAB matrix Download |