Interior Angle Of A Polygon
This script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
Platforms: *nix, Python, BSD
License: Freeware | Download (57): Get the IP address of a network interface Download |
This script contains a function that given a sequence and a number n as parameters, returns the th permutation of the sequence (always as a list).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Getting th permutation of a sequence Download |
It is a new block simulink of a CHAO emetter and receptor called the CHAOVI1ETRT.The program will be well outliner in other versions by controlling the linear part and the non linear part of my chao systemVI1.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): A New Block Simulink Of Chao Emetter and Receptor called CHAOVI1ETRT Download |
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 |
The package contains a simulink model of a mechanism which verify the angle of the road and adjust the torques by giving a angle to a plate located under the load session.this model is not a very complicated one and would be useful to whom want to:1.get familiar with control designs specially PID...
Platforms: Matlab
License: Freeware | Size: 215.04 KB | Download (48): Heavy Trucks Balancing In A Steep Road PID controller "Kamiunyaar":A USEFUL NONLINEAR SAMPLE 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 (47): 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 (42): 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 (49): 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 (46): Magnetic Field of a Current Loop using Biot Savarts Law Download |