Example Of A Shareware
It's a function that finds the minimum value of a two variables objective function with a deterministic zero order algorithm: simplex method. The input variables are:-fun: inline function of the objective function-init_point: initial point for the simplex method-step_size: initial dimension of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Simple example of the Simplex Method Download |
This demo shows how to use MATLAB, Optimization Toolbox, and Genetic Algorithm and Direct Search Toolbox to optimize the design of a double wishbone suspension system.Note: You will need to have the following products installed in order to run this demo: MATLAB, Simulink, Optimization Toolbox,...
Platforms: Matlab
License: Freeware | Size: 2.02 MB | Download (46): Optimization of a Double Wishbone Suspension System Download |
It finds the minimum of a n variables function with the Particle Swarm Optimization Algorithm.% The input parameters are:% -func: it's the objective function's handle to minimize% -numInd: it's the number of the swarm's elements% -range: it's the range in which the elements must be created%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Simple example of PSO algorithm Download |
This model simulates the position control of a DC motor. Parameters can be changed from the model properties tag.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Position Control of a DC Motor Download |
The code computes the velocity profile for the vertical laminar flow of a Bingham fluid down a wall. As expected the profile is flat near the surface of the liquid film. In fact, we have a zero velocity gradient only when the shear stress is large enough (superior to tau0). This behaviour is...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (43): Vertical Laminar Flow of a Bingham Fluid down a Wall Download |
Simulation of a model of DC motor, driven by constant input signal that approximates a pulse-width modulated(PWM) signal and look at the current and rotational motion at the motor output using Simulink. It uses SimElectronics and Simscape too.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Simulation of a model of DC motor Download |
Equations of motions of a Cessna are modelled in this matlab GUI. Cessna levels of to a steady level flight at 10.5 kms. Four plots show (a) Alt Vs Time. (b) Alt Vs G. (c) Vel Vs Tim. (d) Flight path angle Vs Time. Other plots like Range, Ceiling, Flight Path Angle can be obtained using the GUI...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (43): Flight Dynamics of a Cessna Download |
The standard problem of a Two Link Manipulator is developed both kinematically and dynamically. It is then controlled to trace a rotated ellipse. The non-linear terms (like gravity/inertia etc.) are exclusively canceled out in varying degrees and the performance studied.This file was created as a...
Platforms: Matlab
License: Freeware | Size: 7.97 MB | Download (50): Kinematic/Dynamic Control of a Two Link Manipulator Download |
The velocity and shear stress versus radial position are obtained for the laminar flow of a power-law fluid in a pipe. Pipe radius and applied pressure gradients can be set by the user. If you choose a power-law exponent, n, equal to 1 then a Newtonian fluid is recovered. Dilatant and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): GUI application for pipe flow of a power-law fluid Download |
Computes the distance 2-point correlation function of a finite 2D lattice. The functions is:[ coorfun r] = twopointcorr(x,y,width,height,dr)Where x is the list of x coordinates of lattice points. y is the list of y coordinates of the lattice points, width is the width of the lattice, height is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Two point correlation function of a finite 2D lattice Download |
This function uses the Vincenty direct algorithm to solve the "forward geodesic problem," which is the problem of computing the endpoint of a geodesic (shortest-distance) path on the ellipsoidal earth, given the start point, a path length, and a starting azimuth. This process is also called...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): VRECKON: Find the endpoint of a geodesic on the ellipsoidal earth Download |
Calculates multifractal spectrum of a binary image based on the ideas in the paper by Posadas et al., Soil Sci. Soc. Am. J. 67:1361-1369, 2003.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Multifractal spectrum of a binary image Download |
this matlab code will executes that the whole numbers on a number plate of a car can be segmented,just by modifying the available code using or operation in the labelling
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): number plate segmentation of a car Download |
Disclosed are methods to compute the precise value of the logarithm of a sum and the logarithm of a subtraction.A number of practical problems can result in having too big or small values in intermediate values of a calculation. Then one tries to take logarithm of these values and operate on...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 102.4 KB | Download (44): Methods for calculating precise logarithm of a sum and subtraction Download |
This matlab scprit calculates fractal dimension and intercept of a 3D volume along each redial line using Fourier analytical technique. Directionally averaged fractal dimension, intercept and Hedgehog plots of fractal dimension and intercept of each direction are given.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Calculation of fractal dimension of a 3D volume using fft Download |
The program uses a simple algorithm to calculate the deflection at each point of a cantilever beam subjected to arbitrary loading distribution, the program also calculates and plots the bending moment and shear force in the beam.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): deflection of a cantilever beam Download |
Dynamic simulation of a transformer start of an asynchronous motor. The transformer tap can be chosen in the model. The switching from the transformer tap to the full voltage is done manually with a switch in the model. Visible are stator current, speed, motor torque and load torque
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 51.2 KB | Download (47): Dynamic simulation of a transformer start with an asynchronous motor Download |
Computes the nth moment mean of a function (needs more implentation).m = moment(x, y, n)m = nth moment of yx = domainy = datan = nth moment == 1 by defaultm = int(x^n * y) / int(y)where int is integral over all x integral is calculated using trapezium rule
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Moments of a function Download |
Design of a robust digital controller with PPR toolboxThis script shows the basic steps for the "digital two degrees of freedom controller" (2DOF) design with the PPR toolbox.The illustration of our methodology is based on a difficult plant control. To get a 2DOF controller, only 2 "high level"...
Platforms: Matlab
License: Freeware | Size: 163.84 KB | Download (46): Design of a robust digital controller with PPR toolbox Download |
finds null space and range of a sparse matrix using lu decomposition.This routine is devoted to find null space of possibly large matrix fast.Results may be inaccurate if zero and nonzero singular values are not well separated.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Null space of a sparse matrix Download |