Main Content

22,737 results

Additional argument and property validation functions currently absent in MATLAB's standard library

# Additional ValidatorsAdditional argument and property validation functionscurrently absent in MATLAB's standard library.# Content- `mustHaveSameSize` validates that values have the same size

Adds multi-file functionality to functions handling only single files.

FILEFUN is created in the same spirit as e.g. CELLFUN, in that it repeatedly calls the same function FUN with different arguments, in this case filenames. It will then collect the output(s) of the

A useful tool for parsing function arguments like 'cellspacing',6,'monkey',1

Helper function for parsing varargin. Makes it easy to write functions that take arguments like this: subaxis(4,2,1,'spacing',0,'marginleft',.1,'H','pt',.1

Evaluate the Mittag-Leffler function with one or two parameters at square matrix arguments

This MATLAB functions evaluates the Mittag-Leffler (ML) function with two parameters ALPHA and BETA at the square matrix argument AE = ML(A,ALPHA,BETA) evaluates the ML function with two parameters

A function which Validates given IPV4address.

the IP address you want to Validate . This function returns a value 1 if success else 0 . If any other matlab data types apart from string type are passed to this function then also it returns a value 0

Bessel function of complex order and argument

As so many people have asked me the C++ code for calculating besel functions of complex order and complex arguemnt, I now submit them to benifit more people ...

The Fill Between Area Curve creates a shaded area between two data series, effectively highlighting the region of overlap or difference.

between 2 lines formed by y1 and y2 with color c.* `fillBetweenAreaCurve(__, Name, Value)` specifies additional options for the FillBetweenAreaCurve using one or more name-value pair arguments. Specify the

Easy to use, GUI based tool to capture, analyze, validate, postprocess, visualize and simulate PIV data.http://PIVlab.de

Optional function arguments with default values: optndfts

Optional function arguments: optndftsAllows optional arguments to be specified as name value pairs, and default values given for those augments not specified e.g.function strt=demo1(arg1,varargin

A Matlab function For Randomly Partitioning Date into Training, Validation and Testing Data

This function randomly partitions data into training, validation and testing data using Cross Validation. Partitioning data in this manner is commonly used for determining the performance of

Simple M file to convert Symbolic Equations/Polynomials to ZPK TF form.

Perform equation manipulation/substitution in syms toolbox, then convert the result to a transfer function using this m file. Input is your symbolic equation (with syms variable s or z), output is a

A DPX file parser .

DPX is a high dynamic range file format used for digital motion picture stills and synthetic imagery. The readdpx function extracts image metadata and returns image pixels for each frame.The DPX

Perfect Polar Plots

Version 1.0.0

by ET

Functions to generate fully customizable polar plots including compass orientation and circle segments.

Although current versions of Matlab do offer some polar plotting functionality, it isn't particularly flexible. "Perfect Polar Plots" is a few functions which can be used to create fully customizable

Easily add optional, named arguments to your functions, like this: f('var_name', value).

Assigns named arguments passed to your function to local variables (as in plot(), etc.). The name of the argument is the name of the local variable in your function. Example: inputfun('prompt', '&gt

m2uml

Version 2.0.2

by per isakson

m2uml generates UML class diagrams from m-code

: Custom documentation that is integrated in the Help Browser of Matlab.7. New: Extensive possibilities to customise the class diagram, e.g display input and output arguments of methods8. New: m2uml comes in

This toolbox offers convolution neural networks (CNN) using k-fold cross-validation, which are simple and easy to implement.

FDEP dissects ML files and iteratively looks for all user defined functions used during runtime

FDEP dissects MATLAB files and iteratively looks for all user defined functions (modules), which are used during runtimeFDEP retrieves for each module its- subfunctions- nested functions- anonymous

FastTracks

Version 1.0.1

by Brian DuChez

Automated tracking of fluorescently labeled cells

allcomb(varargin)

Version 4.2.0.0

by Jos (10584)

All combinations of input (v4.2, apr 2018)

number of elements of the N inputs. This functionality is also known as the Cartesian Product. The arguments can be numerical and/or characters, or they can be cell arrays. Examples

validateInput

Version 1.0.0.0

by Jed F.

A simple 'getOpts' type script to validate input parameters.

validateInput started when creating saveppt2. There was a need to take a large number of inputs, in any order, and make them usable to the script. Checking if an input argument has been passed can be

Panic Simulator

Version 1.1.0.0

by Julian

Simulates panic behaviour in modifiable rooms with one exit

Set of methods for generating Procrustes validation sets for PCA/SIMCA, PCR and PLS models.

Procrustes cross-validation is a new approach for validation of chemometric models. It makes possible to generate a new dataset, named "PV-set" and use it for validation of models in the same way as

Digitize plots expressed in the spherical projections: Wulff and Lambert.

Numerical computation with functions

For parsing function arguments supplied as name-value pairs, e.g. 'XLim',[0 10],'YLim',[0 100]

Based on same idea as the excellent "parse_pv_pairs", and similar to the "inputParser" object added to MATLAB in R2007a, this function handles names and values for properties in any order, and

nchoose2

Version 3.2.0.1

by Jos (10584)

all combinations of two elements

Prettify checking the number of arguments to a function.

nargchk is used almost exclusively in one way:error(nargchk(minargs, maxargs, nargin, 'struct'));The third and fourth arguments are always the same, and you always wrap it in an error call.This

Matches two pictures given as arguments.

The function takes two images as argument and using edge detection checks whether they are the same or not...a cool and simple code which can be used in security systems. The level at which the two

supplying over 17 validity indices and 5 clustering algorithms based on GUI

Cluster validation is an important and necessary step in cluster analysis. This visual cluster validation tool CVAP based on GUI provides important tools and convenient analysis environment for

Read .xyz files and make gridded datasets.

Here are two functions: xyzread reads text .xyz files into your Matlab workspace. This is written for GMT-generated .xyz files, but may work for other .xyz files as well. xyz2grid converts the

ArgUtils

Version 1.5.0.0

by Nezar

Argument parsing utilities

followed by keyword arguments (name-value pairs) in any order. Keywords are matched using MATLAB's string validator, so matching is case-insensitive and abbreviated keywords are acceptable as long as they

This toolbox imports pre-trained BERT transformer models from Python and stores the models to be directly used in MATLAB.

model (“none”, “text-classification”, “token-classification” or "question-answering"), and the model format (“tf” or “pt”): # Open command window cd "...\exportBertToMatlab\Python

28 functions for different tasks of graph theory

transitive closure for the digraph;grTravSale - solve the nonsymmetrical traveling salesman problem;grValidation - auxiliary function (the data validation);grTheoryTest - test program for all functions.

Toolbox for simulating hybrid systems and plotting hybrid arcs in MATLAB and Simulink.

installing v3.0, the following error appears: “Error using HyEQsolver. Too many input arguments.”Cause: A previous version of the toolbox is still installed.Solution: Uninstall the previous hybrid toolbox

This is a beta release of the upcoming version 3.1 of the Hybrid Equations Toolbox. Changes may occur prior to release.

Calculates the Generalized Hypergeometric Function at the desired accuracy.

A numerical evaluator for the generalized hypergeometric function for complex arguments with large magnitudes using a direct summation of the Gauss series.pFq isdefined by (borrowed from Maple): pFq

K-Fold Cross Validation for Binary Classification, using LibSVM

getkeywait

Version 3.0

by Jos (10584)

Wait a certain time for a single keypress

excution 0 is returned. Without argument, getkeywait waits until a key is pressed. [CH, RT] = getkeywait(..) returns the response time in seconds in RT. Example: disp('Press a key within 5

This program file is presented for highly accurate approximation of the Voigt/complex error function with small imaginary argument y ≤ 0.1.

[Kxy,Lxy]=cedawSeu(x,y).This program file computes the complex error function with small imaginary argument 0≤y≤ 0.1. In the real and imaginary parts this program provides average accuracy exceeding

Interactive courseware module that introduces transfer function analysis taught in system dynamics and controls courses.

# Transfer Function Analysis of Dynamic Systems[![View on File

advantage of speed & performance appears under large number of clusters & large dataset

Code for the paper "PCA based Edge-preserving Features for Hyperspectral Image Classification"

Optimal Control toolbox for Matlab. Software for trajectory optimization and Model-predictive control (MPC).

Create a customizable nyquist plot that displays pole/zero contributions.

Programmed for educational purposes, this Matlab function draws a Nyquist diagram of any given rational transfer function (including delays) and allows the user to explore it. As the radius of the

A MATLAB toolbox connected with functions of matrices.

the progress of an iteration. * For the iterative algorithms a convergence tolerance is hard-coded (in function mft_tolerance). For greater flexibility this tolerance could be made an input argument

element-by-element binary operations (e.g. plus, times, eq, gt) with array expansion (AX) enabled.

This function is a generalization of BSXFUN, provided as a builtin function in MATLAB R2007a and later releases. It is part of the ARRAYLAB toolbox, together with MULTIPROD (MATLAB Central, file

Matlab2048.zip

Version 1.2.0.0

by Zhongxiao Sun

This is a 2048 game developped by Matlab M script and functions.

to start the game. It will call other 3 functions during the game.add2mat.m -- add one 2 element into matrixmove_element.m -- move one element by one step.move_mat.m -- move the whole matrix according

Numerical computation with functions

Chebfun is an open-source software system for numerical computing with functions. The mathematical basis is piecewise polynomial interpolation implemented with what we call “Chebyshev technology

Obtaining the matrix representing a given linear function

As is well known, if f() is linear function then there exists a matrix A such that for any Y=f(X), where X and Y are array-valued input/output arguments, the operation can equivalently be expressed

Computes a correspondence between two shapes based on ant colony optimization (ACO).

A toolbox allowing rapid definition and evaluation of 2D and 3D phased array antennas.

such as dipole, microstrip patch, helix or any user defined element pattern function. This paper documents the theory used in the toolbox.

This submission demonstrates Power Plant Model Validation as applied to online performance monitoring of grid events

This submission demonstrates Power Plant Model Validation as applied to online performance monitoring of grid events using phasor measurement unit (PMU) data, through a workflow that includes both

Route Validation in Moblie Ad-hoc Networks using Multi-Layer Perceptron Neural Network

Matsim

Version 1.0.4

by Marco Gavelli

Matlab/Simulink interface. Easily create Simulink models from a Matlab script.

faster.Convert function handle to simulink model:h = @(x,y) 1-x+min(0,y);fun2model(h);Build simulink model from script:import matsim.library.*sys = simulation.load('my_model'); % Create and open a model named

qMRLab

Version 2.4.1

by Agah Karakuzu

Quantitative Magnetic Resonance Imaging Made Easy with qMRLab: Use GUI or CLI to fit and simulate a myriad of qMRI models.

Peak fitting GUI for Diffraction Data

can choose which profile functions to apply to the fit, constrain profile functions, and view the resulting fit in terms of the profile functions chosen. A Bayesian inference analysis can be carried out

Struve functions

Version 1.4.0.0

by Theo2

Struve functions H0(z), H1(z), H0(z)-Y0(z), H1(z)-Y1(z) amd modified Struve functions L0(z), L1(z).

complex arguments. Additionally, routines are provided for the corresponding functions H0(z)-Y0(z) and H1(z)-Y1(z), useful for large z, and for the modified functions L0(z) and L1(z).These are high

A tool for creating tabular expressions in Matlab/Simulink integrating checking with PVS and CVC3.

hg = plotframe( rotationMatrix, translationVector, basisVectorLengths, Name=Value )

Parent=ax )plotframe( __ , Name=Value )hg = plotframe( __ )InputsPositional ArgumentDescriptionrotationMatrixDefines the orientation of the coordinate frame, from the origin. 3-by-3 orthogonal matrix. Default

typecast and typecastx are mex functions that mimic the MATLAB typecast function with extensions

TYPECAST and TYPECASTX are mex functions intended to mimic the MATLAB intrinsic typecast function with extensions. These C-mex versions of typecast differs from the intrinsic typecast in the

Load more