Step Direction Outputs
This function simplifies partial fraction expansion and outputs a single, easy-to-read function, rather than residue.To use this program enter the following in the command window: syms z g = (z^2-9)/(z^2-1); zhelper(g);
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): zhelper Download |
Compilation of .m files to calculate strain from images independent of physical size of the samples. Strain can be calculated in horizontal as well as vertical direction. The functions were developed at the Johns Hopkins University by Rob Thompson, Daniel Gianola and me, all of us part of the...
Platforms: Matlab
License: Freeware | Size: 1.73 MB | Download (42): Digital Image Correlation and Tracking Download |
This code defines an existing function and step size which you can change as per requirement.P.S: This code has no new feature compared to existing codes available online. Intention behind posting this very simple code is to help students understand the concept and solve assignments.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Runge Kutta 4th order ode Download |
Step 1: Find flow direction (find min. potential of all adjacent cells)Step 2: Follow flow direction to sum the cumulative # cells flowing into a given "minimum" cell.Step 3: Find the maximum likely channel location in each E-W direction for a given number of channels.NOTE: The user should make...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): D8 Algorithm for Hydrological Models Download |
Abstract:A customizable add-on library with a small number of blocks for the graphical programming of Bondgraphs is provided.Why Bondgraphs?Energy domain independently Bondgraphs are excellent power flow diagrams for process models [see A. Bouscayrol et al 'Different energetic descriptions of...
Platforms: Matlab
License: Freeware | Size: 2.94 MB | Download (40): Bond graph add-on block library BG Download |
Computes Direction Cosine Matrix from Euler angles (in radians) for six basic sequence of rotations around X(Roll),Y(Pitch) and Z(Yaw) axis.Allowed rotations sequences:xyz, xzy, yxz, yzx, zxy, zyxORrpy, ryp, pry, pyr, yrp, ypr----------------------------dcmfromeuler.mfunction to compute DCM from...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): DCM from Euler angles Download |
This set of simulations make use of the Alternating Direction Implicit method for solving the parabolic wave equation that arises in FD BPM.The zip file includes the following programs:FDBPM3D_free_space.m - Animation and video of the 3D propagation.FDBPM3D_free_space_slice.m - It shows slices of...
Platforms: Matlab
License: Freeware | Size: 92.16 KB | Download (47): Finite Differences Beam Propagation Method in 3-D Download |
For a system having multiple inputs x and outputs y, the partial coherence is the coherence computed between any individual input and the output when the effect of all other inputs is removed from the output by a linear least squares prediction. This coherence obeys the usual inequality, and will...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Multiple Coherence Function Download |
specify a file name and a matrix containing latitude / longitude data and the program outputs a KML track file viewable in Google Earth.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Latitude Longitude to KML Download |
An electron gun produces particles with specified rates and random velocities and direction, some of them collide with upper plate that its position and size are defined. This program simulate this process and shows what percent of particles collide with the plate and also show the distribution...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Montcarllo distribution phenomena Download |
Outputs L(x) where x is a vector or scalar. L(0) explicitly set to 0.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Langevin.m Download |
The routine display the outputs of intermediate butterfly stages
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): DIT Radix-2 FFT with Bit Reversal Download |
This submission is an example showing how a Level 2 M-file S-function can be used to help debugging models and vizualize the values computed by the SimulinkdlT« solver at minor time steps.This submission contains a Level-2 M-file S-function that logs the minor time step data of a signal into...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (38): Minor Time Step Logging Download |
Estimates the exact statistical power of a performed Student's t test about mean(s). Here, according to Winer (1970) we use the exact power by the noncentral cumulative distribution function. It recalls you the statistical result of the test you should have arrived. Inputs:t - Student's t...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): extpowerStudent Download |
Take a set of speed or distance data with a direction and create a radar-like plot...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Radar-like Plot Download |
Accepts an input and sends it to only one of the two outputs, depending on the value of a second "control" input.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): reverse.mdl Download |
This function deals with the univariate hypotheses test concerning skewness and kurtosis.It needs to input data vector, direction of tests (1 = one-tailed; 2 = two-tailed)[default = 2], and significance level (default = 0.05).Immediately it outputs, for an one-tailed hypothesis whether or not the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): skekurtest Download |
This submission demonstrates how to write a level-2 M-file S-function with a variable sample time.The block samples and holds an input signal were the inter-sample period is specified by another input signal (and may vary from time period to time period).Each step size must be positive or an...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Zero Order Hold with variable time step Download |
ConvertPlot4Publication - This function formats figures and outputs files for a publicationThis function formats a figure in a way that they are ready for apublication, i.e. width and height of the figure, textsize, textfont, alignment ofsubplots and backcolor and finally saves this figure in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (48): ConvertPlot4Publication Download |
This function return the rotation along x,y and z direction from a 3x3 Rotation Matrix%Inputs: % R= 3x3 Rotation Matrix%Outputs: % rx= Rotation along x direction in radians % ry= Rotation along y direction in radians % rz= Rotation along z direction in radians % R =%% [ cos(ry)*cos(rz),...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Calcuate Euler Angles from Rotation Matrix Download |