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
- 5.5K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
27 Oct 2004
Additional-Validators-for-MATLAB
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
- 4 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
16 Nov 2025
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
- 1.5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
17 Jun 2009
Bessel Function of Complex Order and Argument
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 ...
- 3.3K (All time)
- 3 (Last 30 days)
- 4.0 / 5
- Community
-
6 Jan 2006
A Matlab function For Randomly Partitioning Date into Training, Validation and Testing Data
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
- 794 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Apr 2015
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
- 754 (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
10 Aug 2023
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
- 735 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
26 Sep 2018
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', '>
- 612 (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
7 Jan 2014
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
- 1.3K (All time)
- 2 (Last 30 days)
- 4.2 / 5
- Community
-
8 Jun 2015
Lambert W function (logarithmic input)
Lambert W function for real, nonnegative, possibly large arguments.
This function is analogous to the builtin lambertw() except that it accepts the logarithm of the argument:lambertw(0,exp(logx)) == lambertwlog(logx) (within machine precision)This function only
- 107 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
20 May 2016
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
- 5.9K (All time)
- 2 (Last 30 days)
- 4.5 / 5
- Community
-
8 Nov 2010
filefun: Apply a function to files
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
- 3.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
16 Feb 2007
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
- 703 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
22 Apr 2010
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
- 1K (All time)
- 5 (Last 30 days)
- 4.9 / 5
- Community
-
19 Jan 2020
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
- 3.5K (All time)
- 7 (Last 30 days)
- 4.8 / 5
- Community
-
3 Oct 2020
Simple Deep Learning Algorithms with K-fold Cross-Validation
This toolbox offers convolution neural networks (CNN) using k-fold cross-validation, which are simple and easy to implement.
- 3.4K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
20 Dec 2020
- 1.2K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
4 Jun 2014
Check the number of arguments to a function
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
- 358 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
23 Mar 2010
parseargs: Simplifies input processing for functions with multiple options
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
- 5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
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
- 195 (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
22 Apr 2014
Chebfun V4 - old version; please download current version instead
Numerical computation with functions
- 14K (All time)
- 2 (Last 30 days)
- 4.8 / 5
- Community
-
29 Oct 2015
Computing of Voigt/complex error function with small y
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
- 46 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
7 Jan 2022
Sparse Automatique Differentiation
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
- 209 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
29 Jan 2023
- 401 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
16 May 2016
- 1.9K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
2 Jun 2014
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
- 10.3K (All time)
- 1 (Last 30 days)
- 3.3 / 5
- Community
-
13 Jul 2004
export BERT to MATLAB: Load pre-trained BERT models
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
- 183 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
6 Dec 2023
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
- 8.2K (All time)
- 21 (Last 30 days)
- 5.0 / 5
- Community
-
15 Oct 2022
CVAP: Cluster Validity Analysis Platform (cluster analysis and validation tool)
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
- 12.6K (All time)
- 3 (Last 30 days)
- 4.3 / 5
- Community
-
25 Jul 2009
Hybrid Equations Toolbox (beta)
This is a beta release of the upcoming version 3.1 of the Hybrid Equations Toolbox. Changes may occur prior to release.
- 311 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
2 May 2024
Demos from "Object Recognition: Deep Learning" Webinar
Demos Used in "Object Recognition: Deep Learning and Machine Learning for Computer Vision" Webinar
- 7.3K (All time)
- 2 (Last 30 days)
- 4.1 / 5
- Community
-
2 May 2017
Set default values for optional function input.
Set default arguments for use in function, without having to code the switch-case blocks. Code is quite trivial, but it saves me some time coding.
- 244 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
26 Apr 2013
grTheory - Graph Theory Toolbox
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.
- 43.5K (All time)
- 4 (Last 30 days)
- 4.6 / 5
- Community
-
30 Jan 2011
Route Validation in MANETs using MLP
Route Validation in Moblie Ad-hoc Networks using Multi-Layer Perceptron Neural Network
- 218 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
2 Feb 2020
- 1.3K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
29 Sep 2021
Release 6.1925 of a collection of functions for analysis/display of seismic and well-log data.
- 9.5K (All time)
- 5 (Last 30 days)
- 4.9 / 5
- Community
-
8 Jul 2009
digamma function for complex arguments
The digamma or Psi (Maple) or Polygamma (Mathematica) function for complex arguments.FDIGAMMA(Z) returns the digamma function of the complex scalar/matrix Z.
- 1.7K (All time)
- 1 (Last 30 days)
- 3.0 / 5
- Community
-
23 May 2006
OpenOCL - Open Optimal Control Library
Optimal Control toolbox for Matlab. Software for trajectory optimization and Model-predictive control (MPC).
- 1.4K (All time)
- 7 (Last 30 days)
- 5.0 / 5
- Community
-
24 May 2020
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
- 439 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
23 Jul 2017
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
- 3.2K (All time)
- 10 (Last 30 days)
- 5.0 / 5
- Community
-
28 Jun 2012
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
- 11.4K (All time)
- 19 (Last 30 days)
- 4.9 / 5
- Community
-
1 Aug 2024
Synthetic Bright-Field Microscopy Image Generator
This is a synthetic image generation tool that can create realistic Pap-smear images
- 621 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
12 Mar 2015
Adaptive Affinity Propagation clustering
advantage of speed & performance appears under large number of clusters & large dataset
- 7.2K (All time)
- 3 (Last 30 days)
- 4.8 / 5
- Community
-
26 Jul 2009
Copyright 2018-2024 The MathWorks, Inc.
# MathWorks :registered: Tool Validation Kit
- 539 (All time)
- 3 (Last 30 days)
- 4.4 / 5
- Community
-
16 Sep 2025
Mittag-Leffler function with matrix arguments
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
- 609 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
20 Oct 2020
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
- 271 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
24 Jul 2014
Like the built-in input function but with the ability to impose constraints and checks on user input
validateattributes(A,classes,attributes).k = VALIDATEDINPUT(prompt,validationFcn) checks the input using the provided validationFcn.If the user input provided at the prompt is invalid, the user will be informed of the reason why and
- 327 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
16 Oct 2015
Phased Array Design Toolbox v2.5
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.
- 21.2K (All time)
- 16 (Last 30 days)
- 4.9 / 5
- Community
-
18 Sep 2015
Resnet50 and other pre-trained models with cross-validation
Resnet50 and other pre-trained models with cross-validation Matlab code .all evaluation metrics are included
Resnet50, densnet201, resnet18, vgg16, exception net, test network are pre-trained models with cross-validation Matlab code. all evaluation metrics are
- 1.6K (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
14 Feb 2021
SDOxlsIF: Excel Interface API for Simulink Data Object
SDOxlsIF: Useful M-File functions to interface Simulink Data Object with Microsoft Excel worksheet.
SDOxlsIF is a set of three M-File functions.XLSREADSDO enables you to load workspace variables of Simulink Data Object from Excel worksheets.XLSWRITESDO enables you to save workspace variables of
- 2.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
24 Nov 2008
Equation Validator for Long Equations
I used to use Maple to check my equations, The ability of seeing the equation in the pretty print mode in maple has helped me to validate my code and recognize the errors in my equations for years
- 4.4K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
30 Oct 2006
Elliptic Integrals and Jacobi's Zeta Function of Complex Argument.
Evaluates the elliptic integrals of complex phase.
ELLIPTIC12i evaluates the Incomplete Elliptic Integrals of the First, Second Kind and Jacobi's Zeta Function for the complex value of phase U. Parameter M must be in the range 0 <= M <= 1
- 1.2K (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
20 Jun 2009
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
- 466 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
13 Jul 2020
FOMCON toolbox for MATLAB is dedicated to fractional-order modeling and control of dynamic systems.
- 21.6K (All time)
- 149 (Last 30 days)
- 4.6 / 5
- Community
-
25 Nov 2022
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
- 2.6K (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
23 Jul 2008
A tool for creating tabular expressions in Matlab/Simulink integrating checking with PVS and CVC3.
- 3.2K (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
26 Apr 2015
- 5.1K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
13 Apr 2009
ProcessNetwork/ProcessNetwork_Software
Functions for the delineation of Dynamical Process Networks using Information Theory
MATLAB codingCove Sturtevant and Dennis Baldocchi of the University of California, Berkeley for redevelopment of the MATLAB code in Version 1.5 to improve the processing speed of individual functions and
- 1.4K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
21 Mar 2016
A MATLAB package for multivariate permutation testing and effect size measurement
example code provided in the [Examples](#examples) section below, as well the M-files in the [examples](examples) folder. For detailed usage, please see the help documentation in each of the function
- 140 (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
29 Aug 2024
NXT Scanner with Lego Mindstorms NXT
NXT Scanner Model-Based Design based on Embedded Coder Robot NXT.
- 3.2K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
11 May 2009