Actual Cash Value Of A Car
This scripts shows you how to obtain the name of a method or a function from within the running method/function.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Obtaining the name of a function/method Download |
This simple code calculates the convex hull of a set of 2D points and generates EPS files to visualise them.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Finding the convex hull of a set of 2D points Download |
This script shows a way to generate a list of all strings (in this case, string=list of symbols) of a given alphabet having a specified length by using list comprehensions. Strings (not the 'string' type) are frequently used in computer science; for example numbers are encoded as strings of...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Generating all strings of a given alphabet Download |
3D Array Factor of a 4x4 planar array antenna calculated using general formulas and then plotted in 3D format."AB" shows the excitation amplitude of the elements and "AB_phase" shows their phases.Elements are placed on the x and y axis and element factor is ignored. The code can easily be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): 3D Array Factor of a 4x4 planar array antenna Download |
Finding the Fourier transform of a rectangular pulse..filtering the spectrum and regenerating the signal usingthe filtered spectrum is done...at the end Rayleigh theorem is proved by showing that the energy content of both time domain and frequency domain signals are equal..your comments are...
Platforms: Matlab
License: Freeware | Size: 215.04 KB | Download (41): Fourier Analysis of a Rectangular Pulse Download |
It is very fast and simple file to display histogram of a 3D imageimhist3(I,n) n is the number of bins in the histogramimhist3(X,map) X isindexed 3D image and map is colormap map
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Display histogram of a 3D image Download |
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 (45): 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 |
n the bottom of a Stefan tube there is a quiescent liquid with a mixture of acetone (component 1) and methanol (component 2). Vapor that evaporates from this pool of liquid diffuses to the top of the tube. Air (component 3) keeps the mole fractions of components 1 and 2 equal to zero. This...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (42): Solution of a Maxwell Stefan Diffusion Problem 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 (42): 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 (39): 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 (39): 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 (46): 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 |
Program given here computes the discrete transfer function of a DC motor (Example taken in this case) using pseudo inverse technique. The input and output data for any single input single output system can be used to find out the discrete transfer function of that system.
Platforms: Matlab
License: Freeware | Size: 215.04 KB | Download (44): Discrete Transfer Function Identification of a Motor 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 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 |