Main Content

22,657 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 ...

A Matlab Toolkit for Macroeconomic Models using Value Function Iteration

A Matlab Toolkit for Macroeconomic Models using Value Function Iteration. Automatically parallelizes on CPUs and GPU. Includes commands for simulating time series and stationary distributions, and on

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

SVM Grid Search

Version 1.1.0.0

by Dian Bahnev

Performing grid search for SVM, using the default Matlab toolbox.

kktviolatonlevel level. It gives as output array with the trained SVMs, array showing if a SVM was not able to be trained (converge), and the accuracy for the train, validation and test sets. The function is easy to

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.

Example files for "Deep Learning for Computer Vision with MATLAB" Webinar - July 5, 2016 (Spanish)

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

Presented Algorithm segments blood vessels of retinal image with a high degree of accuracy

every pixel of the Gaussian filtered Image.After some contrast enhancement final segmented image is obtained using ISO Data thresholding. This algorithm is validated using images in drive database .

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

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

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

PEMF cross-validation

Version 2016.1.0.0

by ADAMS Lab

PEMF is predictive (cross-validation type) approach to test surrogate models.

Predictive Estimation of Model Fidelity (PEMF) is a model-independent approach to measure the fidelity of surrogate models or metamodels, such as Kriging, Radial Basis Functions (RBF), Support Vector

Forward automatic differentiation using operator overloading and sparse jacobians

overloading. This does not provide backward mode. It enables precise and efficient computation of the Jacobian of a function. This contrasts with numerical differentiation (a.k.a finite differences) that is

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

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

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

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

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.

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

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.

K-Fold Cross Validation for Binary Classification, using LibSVM

The app is used for PKPD Modeling and Simulation.

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

nchoose2

Version 3.2.0.1

by Jos (10584)

all combinations of two elements

Demos Used in "Object Recognition: Deep Learning and Machine Learning for Computer Vision" Webinar

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

SeisLab 2.01

Version 1.2.0.0

by Eike Rietsch

Release 6.1925 of a collection of functions for analysis/display of seismic and well-log data.

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).

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

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

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

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

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

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

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

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

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

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

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

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

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

Load more