Accepts
Accepts a 1-dimensional struct array (in the format 1xn) and converts it into a cell array. The first row of the cell array has the struct's field names in each column; the data from each of those fields for each entry in the struct array appears in subsequent rows. The idea is to make it easy to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Convert Struct to Cell Array With Column Headers Download |
ACCEPTS SECURITY TICKERS WITH MORE THAN ONE WORD (WITH A SPACE)seehttp://www.mathworks.com/matlabcentral/fil...objectId=828141>> help df2ftsDF2FTS(EXPRESSION,FIELD,FROMDATE,TODATE) for historicalDF2FTS(EXPRESSION,FROMDATE) for time seriesGets data from the Bloomberg, calcuates the expressionputs...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): df2fts Download |
Fast, fully vectorised version of the Simpson's method for 3D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than triplequad. Examples are provided within the code. Useage: ans =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): 3D Simpson's Integrator Download |
CROP('filename.ext') crops the image in the file and saves it using the original filename (overwrites the old image). The extension (ext) can be anything IMREAD supports. CROP('filename.ext',1) saves the cropped image as filenamecropped.ext in the same directory as the original. Changes since...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): crop whitespace from an image Download |
NMULTICHOOSEK(N,K) finds the number of multisets of length k on n symbols. NMULTICHOOSEK can take vector or scalar input.NMULTICHOOSEK(N,K,'single') is the same as NCHOOSEK (unordered samples WITHOUT repetition), except that it accepts vector inputs for both n and k.NMULTICHOOSEK(N,K,'multi') is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): NMULTICHOOSEK Download |
This function converts a gray coded string to its equivalent decimal representation. It accepts rows of gray coded string and returns the equivalent decimal sequence as a column vector.Example:>>g = [1 0 0 1 1;0 0 0 1 1; 0 1 1 0 1];>>gc2dec(g)ans = 29 2 9
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): gc2dec Download |
In statistics, the Kruskald-deOCtWallis one-way analysis of variance by ranks (named after William Kruskal and W. Allen Wallis) is a non-parametric method for testing equality of population medians among groups. It is identical to a one-way analysis of variance with the data replaced by their...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): KWtest Download |
The stats toolbox provides a function to calculate the geometric mean of an array, but a function for the geometric standard deviation is oddly missing.Here is a function to fill that void, with no toolbox required.The function accepts a vector, matrix or N-D array; an optional flag to normalise...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Geometric standard deviation Download |
Accepts a video filename string and send it to Video Lan Client VLC using a dos command. Does not prevent Matlab from performing other actions while the video plays (program is non-blocking).Does not load video into memory so the program can play significantly large files than Matlab's other...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Play video in VLC by filename in Windows (dos) Download |
Accepts a list of x and y coordinates. First, we find the smallest circumscribing polygon from this list (convhull). Finally, we use this polygon's coordinates to find the smallest circumscribing circle. We find the circle by minimizing the distance of the circle center to the polygon's...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): circum circle Download |
trapezoid_rule accepts a function of a single variable, a 1x2 vector which defines the limits of integration and the number of points that are used in the approximation.The output contains the approximation and the figure showing the method.The function is used only for visualization purposes as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Trapezoid Rule Demonstration Download |
Function accepts size distribution in the form of two vectors: mesh size (d) and cumulative percent material retained R(d).Example:d = [0.08 0.50 1.25 2 4 6.3 8 12.5 16 40]Rd = [95.61 87.71 82.45 79.78 73.28 66.98 63.21 55.4 49.91 23.95][k, n] = RRD(d, Rd)Result of the function is a figure...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Rosin-Rammler Diagram plot function Download |
This program accepts from the user the center frequency, focal length and diameter of the parabolic reflector antenna and plot the radiation pattern in both E-plane and H-plane. I think it will be helpful for those who are interested in studying the effect of these parameters on the radiation...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Parabolic Reflector Radiation Pattern Download |
SC is a useful function for displaying rich image data, of use to anyone wishing to visualize and save 2D data in ways beyond that which MATLAB built-in functions allow.This function can be used in place of IMAGE, IMAGESC and IMSHOW, but does so much more. It is fast and displays images as they...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (39): SC - powerful image rendering Download |
This set of files implements a *compliant* ATSC demodulator and decoder that accepts a captured real-world RF ATSC signal as the input and produces an MPEG-II video transport stream as the final output. The models are built in stages demonstrating a top-down design flow leading from RF to the...
Platforms: Matlab
License: Freeware | Size: 3.87 MB | Download (45): ATSC: From RF to Video Download |
Simply, two objects, mobile station and base station, are generated. Mobile station requests for connection. Base station accepts that request and sends acknowledgement. Then, mobile station becomes online.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): A Simple Object Oriented Matlab Example Download |
1) uses "insert ... select UNION ALl select ... "2) sprintf instead of num2str3) matrix print, instead of looping over column4) it handles batch, 100 lines at a time, no huge mem overhead5) accepts multiple input matrices with different type
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): dbBulkInsert Download |
This package includes two functions, evolution.m and and pulse.m. The former accept two structures, one with a set of spins with an initial position in spherical coordinates, T1, T2 and a frequency offset from the rotating frame and two, a set of parameters dictating the simulation. These inputs...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (45): Bloch Equation Vector Diagram Simulation Toolbox Download |
GAMMACORRECTION calculates the Gamma Correction for a particular imageFunction GAMMACORRECTION accepts an input image and some gamma value, then applies gamma correction by this value to the image returning corrected image.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): GammaCorrection Download |
SOLVE_SUDOKU.M -- This file contains the code for solving the Sudoku board, and should be deployed as a .NET assembly. It accepts as input a 9-by-9 array, where 0 represents a blank square, and the digits 1-9 represent any initial values in the grid. The function returns the solved board, if a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Sudoku: ASP.NET/MATLAB Download |