RADIATION HEAT TRANSFER- SHAPE FACTOR CALCULATION (MECHANICAL ENGINEERING)
The file, sfactor.m ; (example) xxx = sfactor(a). calculates shape factor between two flat surfaces with arbitrary orientation and location.
(sfactor12.m and sfactor16.m are similar to sfactor.m but with 12 and 16 gauss-point integration. They are added newly for precission improvement. Check.dat is a sample data file. )
(...
The simulation for educational purposes shows the resulting rotating vector from the 3 by 120 degrees shifted sinusoidals in a phase plane.
Aid for Kakuro puzle solving. Creates an Excell spreadsheet with all possible combinations of the digits 1-9 that sum (without repeats) to any value that could appear in a Kakuro puzzle. The output file, 'KakuroAid.xls' can be sorted in Excell by...
Combines two EPS files into a single EPS file. This function is useful when generating 3D or transparent figures that require Matlab's OpenGL renderer and high-quality results are desired. This renderer will not output vector axes or text...
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...
This very simple example of L1 minimization is reproduced for implementation on matlab. The original example was posted on Rip's Applied Mathematics Blog on March 28, 2011 entitled "Compressed Sensing: the L1 norm finds sparse...
[A, B, C, ...] = PULLDOWN(TITLE, X, Y, Z, ...) will invoke a simple pulldown menu with title TITLE, and lists of choices in cell arrays, X, Y, Z, ..., and provides the choice index for list X in A, the choice index for list Y in B, etc.
A function which gives the area of a 3D planar polygon which does not lie in the x-y plane.
AREA3D(X,Y,Z) calculates the area of a polygon in space formed by vertices with coordinate vectors X,Y and Z. If the coordinates of vertex v_i...
This program to perform convolution has been written keeping the ordinary polynomial multiplication in mind and in my opinion is the most easily understood program among the ones I have seen on the web or written by other fellow workers although...
function W = euklid_W(ws,d,n) function W = euklid_invW(ws,d,n) PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted.) ...
Bidimensional surface shift to a position specified by a vector [x,y].
SMOOTHN Smooth N-D data Y = SMOOTHN(X, SIZE) smooths input data X. The smoothed data is retuirned in Y. SIZE sets the size of the convolution kernel such that LENGTH(SIZE) = NDIMS(X)
Y = SMOOTHN(X, SIZE, FILTER)...
SIXDOF Calculate aircraft fixed-mass rigid-body six-degrees-of-freedom equations of motion using MATLAB ODE45 solver.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Inputs: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Functions are described briefly below:
1) er_add: Add given tranfer functions. 2) er_blaschke: Perform desired frequency transformation of digital filter using Blaschke products. 3) er_conv: Multiply transfer functions.
Optimized Step Size Random Search(OSSRS) A random search method[1] for the optimization of a function of n variables. Can be used as a start-up before using a determistic method like Simplex method of Nelder and Mead to arrive at the region of the...
Returns a MATLAB color vector for a selection made from the palette.
A customisable palette of 40 colors and grey scales, with link to standard windows color dialog box for mixing more colours.
(anyone who downloaded my...
Given a desired value "y0", this function finds all the elements "y" in a vector whose values are the closest to "y0" in the whole vector, and also the positions "xi". So, the output is a set of points...
Takes as input a tape (vector), a transition function (a size(n,5) matrix, and the starting position and state.
Sym2Polys (by Paul Godfrey) cannot be run on MATLAB 7(Release 14). This function is an extension of the Matlab SYM2POLY and COEFFS functions in that it allows the coefficients to be symbolic and returns the full coefficient vector including the...
A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The... |