Main Content

22,843 results in File Exchange

Parse function arguments

Version 1.0.0.0 by Aslak Grinsted

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

- Helper function for parsing varargin.
  • 5.5K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 27 Oct 2004

Additional-Validators-for-MATLAB

Version 1.0.0 by Andrei Smoliakov

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

- Validate that values have the same size
- Validate that dict. have same types and keys
- Validate that value is an even power of 2
- Validate that value is even
- Validate that value is binary
- Validate that value is an angle wrapped to a value
- Validate that value is a natural power of 2
- Validate that value is an object of a MATLAB class
- Validate that value is odd
- Validate that values in a vector are decreasing
- Validate that values have compatible sizes
- Validate that value is an angle from a quadrant
- Validate that input defines axis limits
- Validate that values in a vector are increasing
  • 4 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 16 Nov 2025

IPV4 address Validation

Version 1.1.0.0 by Shameemraj Nadaf

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

Version 1.0.0.0 by Hongxue Cai

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

Version 1.2.0.0 by Joseph Santarcangelo

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

- This is the example from: http://www.mathworks.com/help/stats/support-vector-machines-svm.html
- kernel
- This function randomly partitions data into training, validation and testing data using Cross Validation.
- 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

Fill Between Area Curve

Version 1.0 by Avinash

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

Version 3.1.1.0 by Bill Whiten

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

- shows how to give optional arguments without char name
- show how multiple called functions can update default values
  • 735 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 26 Sep 2018

Process named Arguments

Version 1.5.0.0 by Alan Robinson

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

  • 612 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 7 Jan 2014

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

- % The input parameters are checked if they are empty, if so a default value
- % The input parameters are checked if they are empty, if so a default value
- % This functions is training the svm and puts the train svm classes in
- This function returns the count of the unique numbers in the matrix
- % Computing grid search for SVM with preset set of parameters. This
- Computing SVM output, the input is syplied to the SVM in frames with
- GET_ACURANSY: This functions gets the acurancy values out of the
- % This function calculates the number of true positives, true negatives and
- % This function calculates the number of true positives, true negatives and
  • 1.3K (All time)
  • 2 (Last 30 days)
  • 4.2 / 5
  • Community
  • 8 Jun 2015

Lambert W function (logarithmic input)

Version 1.0.0.0 by Michael

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

- LAMBERTWLOG - Lambert W function with logarithmic input
  • 107 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 May 2016

DPX file reader

Version 1.1.0.0 by Julianna Mather

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

- Validate input argument.
  • 5.9K (All time)
  • 2 (Last 30 days)
  • 4.5 / 5
  • Community
  • 8 Nov 2010

filefun: Apply a function to files

Version 1.0.0.0 by Jerker Wagberg

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

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

- VALIDATEINPUT Validate input for m-files
  • 703 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Apr 2010

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

- Extract Function Arguments
  • 1K (All time)
  • 5 (Last 30 days)
  • 4.9 / 5
  • Community
  • 19 Jan 2020

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

  • 3.5K (All time)
  • 7 (Last 30 days)
  • 4.8 / 5
  • Community
  • 3 Oct 2020

Simple Deep Learning Algorithms with K-fold Cross-Validation

Version 1.1 by Jingwei Too

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

Panic Simulator

Version 1.1.0.0 by Julian

Simulates panic behaviour in modifiable rooms with one exit

- validates if NUM is of desired format
- validates if STR can be transformed to number and is of desired format
- validates if settings is of right format
- validates if column matrix is of right format
- validates if agent matrix is of right format
- validates if wallLines is of right format
- validates if automateObj is of right format
- validates if exitCoord is of right format
- calls the updateAgent function and plots the new matrix if
- does all necessary stuff when timer is first started
- does all necessary stuff when timer is first started
- called inside ode solver, if one of value goes to 0, an
- this function can be called to produce a default
- plots agents, columns and the grid
- plots a collegeblock like background with 1 m between each block
- Find java objects contained within a specified java container or Matlab GUI handle
- 1 plots the outcome of the velocity automatization process
- plots a circle with center in [x,y] and radius r
- updates the position of the agent circles and their pressure
- plots all agents and columns in the range [xMax, yMax]
- plots a wall line from (x1,y1) to (x2,y2)
- changes NAgent in settings to desired value, also adapts xMax
- plots a blue column with center in [x,y] and radius r
- Deactivates all Ui Controls
- reactivates all ui controls previously deactivated
- plots the green-red exit line from (x1,y1) to (x2,y2)
- changes xMax to desired value
- plots a circle with center in [x,y] and radius r
- Creates realistic radii of human, according to statistics
- Resets variables of simulation obj, like time...
- changes wall angle to desired value, also adapts xMax
- returns coordinates of the center of equally distant
- generates agent matrix and wall matrix and exit line
  • 1.2K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 4 Jun 2014

Check the number of arguments to a function

Version 1.0.0.0 by Richie Cotton

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

- Checks that the number of arguments passed to the caller function is
  • 358 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 23 Mar 2010

parseargs: Simplifies input processing for functions with multiple options

Version 1.2.0.1 by Malcolm Wood

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

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

  • 195 (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 22 Apr 2014

Chebfun V4 - old version; please download current version instead

Version 4.2.0.0 by Chebfun Team

Numerical computation with functions

- Tests chebpoly with integer and chebfun arguments.
- Check that a chebfun evaluates correctly for complex arguments.
- Tests the construction and applciation of the Chebfun/Chebop
- This function tests the retrict function (problem related to a bug report
- function A = linop(varargin)
- OPARRAY Array of function handles.
- Check that computations of elementary functions
- Tests automatic exponent computation for functions
- Tests max and min of functions.
- Test the chebpade function against some examples.
- Tests the FOV (field of values) function.
- Tests max and min of unbounded functions.
- Compute the indefinite integral of an oscillatory function
- Test the ratinterp function with different input types
- Test 2x2 systems applied to functions.
- This tests computes the Lebesgue function and Lebesgue constant
- Tests scale invariance for functions with blowups (integer exponents
- This test computes the integrals of blow-up functions
- This test computes periodic Mathieu functions and eigenvalues for the
- This test checks max when the difference between the functions
- Check CUMSUM on for functions which diverge over an infnite
- test the subspace function (angle between subspaces). Also calls vander.m
- Verifies that the extrema of the airy function on [-15,0] are found
- Check if the extrema of the BesselJ function on [0,100] are recovered
- Checks if the roots of the BesselJ function on [0,100] are recovered
  • 14K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 29 Oct 2015

Computing of Voigt/complex error function with small y

Version 1.0.3 by Yihong Wang

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

Version 1.0.0.0 by martin de la gorce

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

- returns the jacobian of function f evaluated at x using either
  • 209 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Jan 2023

geonetdigitizer

Version 1.0.1.0 by Ludger Suarez-Burgoa

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

  • 401 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 May 2016

K-Fold Cross Validation

Version 1.1.0.0 by Mat Labber

K-Fold Cross Validation for Binary Classification, using LibSVM

  • 1.9K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 2 Jun 2014

Picture Matching Function

Version 1.0.0.0 by Fahd Ahmad Abbasi

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

- % Function Developed by Fahd A. Abbasi.
  • 10.3K (All time)
  • 1 (Last 30 days)
  • 3.3 / 5
  • Community
  • 13 Jul 2004

export BERT to MATLAB: Load pre-trained BERT models

Version 2.0.3 by Moritz Scherrmann

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

Hybrid Equations Toolbox

Version 3.0.0.76 by Ricardo Sanfelice

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

- Get a logical vector that indicates which input arguments of
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot with color (n states and n hybrid time
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc (3D) plot in 3 dimensions with color.
- Example Hybrid System with External Functions (Bouncing Ball)
- Example Hybrid System with Embedded Functions (Bouncing Ball with Input)
- A collection of functions useful for working with hybrid systems.
  • 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)

Version 1.3.0.0 by Kaijun Wang

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

- valid_clear_validation;
- within-, between-cluster and total sum of squares
- Affinity Propagation clustering
- calculating intenal validity indices
- data: a matrix with each column representing a variable.
- cluster validity indices for a hierarchical clustering algorithm
- computing error rates for every clusters if true labels are given
- caculate intra similarity/distance and inter similarity
- Running different clustering algorithms
- loading a data set
- preparing for plotting indices
- indices base on intra and inter similarity
- Davies-Bouldin index
- cluster validity indices based on deviation & sum of squares
  • 12.6K (All time)
  • 3 (Last 30 days)
  • 4.3 / 5
  • Community
  • 25 Jul 2009

Hybrid Equations Toolbox (beta)

Version 3.1.0.04 by Paul Wintz

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

- Get a logical vector that indicates which input arguments of
- In this example, a bouncing ball is modeled in Simulink as a hybrid system.
- In this example, a ball bouncing on a moving platform is modeled in Simulink as a hybrid system with an input, where the input determines the height of the platform.
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot (n states and n hybrid time domains).
- Hybrid arc plot with color (n states and n hybrid time
- Hybrid arc (3D) plot in 3 dimensions with color.
- A collection of functions useful for working with hybrid systems.
- In MATLAB, package namespaces (or simply packages) are used to distinguish between functions, scripts, and classes that otherwise have the same name. We use packages in the HyEQ Toolbox to avoid
- Version 3.0 of the Hybrid Equation Toolbox includes substantial improvements to most aspects of the MATLAB-based solver and plotting functions. All code written using v2.04 should continue to work on
- Simulink-based Simulator, particularly the blocks that use embedded MATLAB functions. A cyber-physical system is given by the interconnection between a physical process, the plant, a computer algorithm used for
  • 311 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 May 2024

Demos from "Object Recognition: Deep Learning" Webinar

Version 1.0.0.1 by Johanna Pingel

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

- Resize the flowers images to the size required by the network.
- function I = readFunctionTrain(filename)
  • 7.3K (All time)
  • 2 (Last 30 days)
  • 4.1 / 5
  • Community
  • 2 May 2017

Default arguments

Version 1.6.0.0 by Bas-Jan

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.

- use to create default values for optional function inputs
  • 244 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 26 Apr 2013

grTheory - Graph Theory Toolbox

Version 1.3.0.0 by Sergii Iglin

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.

- The validation of array E - auxiliary function for GrTheory Toolbox.
- Test program for GrTheory functions
- Function Cycles=grCycleBasis(E) find
- Function Dec=grDecOrd(E) solve
- Function Etc=grTranClos(E) built
- Function Ec=grEccentricity(E) find the (weighted)
- Function nMST=grMinSpanTree(E) solve
- Function CoCycles=grCoCycleBasis(E) find
- Function dSP=grDistances(E) find the distances
- Function nMS=grMaxComSu(E,d) solve
- Function h=grPlot(V,E,kind,vkind,ekind,sa)
- Function BG=grBase(E) find all bases of digraph.
- Function [IsIsomorph,Permut]=grIsomorph(E1,E2,n)
- Function dSP=grShortPath(E) solve the problem about
- Function [pTS,fmin]=grTravSale(C) solve the nonsymmetrical
- Function eu=grIsEulerian(E) returns 1 for Eulerian graph,
- Function CBG=grCoBase(E) find all contrabases of digraph.
- function nCol=grColVer(E) solve the color graph problem
- function nCol=grColVer(E) solve the color graph problem
- function mCol=grColEdge(E) solve the color graph problem
- Function nMM=grMaxMath(E) solve the maximal matching problem.
- Function ncV=grComp(E,n) find all components of the graph.
- Function dMVP=grShortVerPath(E,Wv) for digraph with weighted vertexes
- Function nMC=grMinEdgeCover(E) solve the minimal edge cover problem.
- Function nMS=grMinAbsEdgeSet(E) solve the minimal absorbant set problem
- Function nMS=grMaxStabSet(E,d) solve the maximal stable set problem.
- Function nMC=grMinVerCover(E,d) solve the minimal vertex cover problem.
- Function nMS=grMinAbsVerSet(E,d) solve the minimal absorbant set problem
  • 43.5K (All time)
  • 4 (Last 30 days)
  • 4.6 / 5
  • Community
  • 30 Jan 2011

Route Validation in MANETs using MLP

Version 1.0.0 by Majid Farzaneh

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

gPKPDSimToolbox

Version 1.1.3 by Iraj Hosseini

The app is used for PKPD Modeling and Simulation.

- - validates the analysis
  • 1.3K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Sep 2021

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.

- Function matches keywords in cell array "arguments" to fields of "param", and
- Function matches keywords in cell array "arguments" to fields of "param", and
- Without argument, function lists all functions that process seismic data.
- Without argument, function lists all functions that process log data.
- Function converts log curves whose mnemonics are listed in the second input argument
- Function determines the name of the function in the calling sequence that
- Function removes traces
- Function normalizes seismic traces
- Function computes reflection coefficients;
- Function computes the exponential function of the traces of a seismic dataset
- Function computes and applies a gain function to the input data set and
- Function creates a "standard" title
- Function computes n binomial coefficients
- Function plots a rectangular box
- Function filters seismic input data
- Function runs set-up function "presets" in case it has not yet been run.
- Function computes reflection coefficients from impedance
- Function convolves two seismic data sets
- Function writes array to ASCII file
- Function computes maximum normalized correlation coefficients
- Function computes impedance from reflection coefficients
- Function computes histogram of seismic amplitudes
- Function plots values of seismic headers
- Function interpolates in the frequency domain;
- Function creates convolution matrix of the form
- Function appends one log structure to another.
- Function convolves the two input vectors/matrices
- Function plots seismic data in wiggle-trace form.
- Function retrieves subset of log from log structure
- Function creates a figure window in portrait mode
- Function manipulates header(s) of a seismic dataset
- Function plots grid lines at coordinate(s) d
- Function computes running average over specified log curves
- Function computes a weighted average using symmetric weights
- Function creates a figure window in landscape mode
- Function computes the numerical approximation to the indefinite
- Function plots log curves into one plot window
- Function computes elastic impedance log for given angles
- Function manipulates curve(s) of a log structure
- Function plots seismic data in wiggle-trace form.
- Function computes the numerical approximation to the definite
- Function plots seismic data in color-coded form.
- Function applies window to traces of a seismic dataset.
- Function outputs index of header in seismic structure "seismic".
- Function substitutes standardized set of units for input units
- Function outputs indices of curves in log structure "wlog".
- Function computes reflection acoustic reflection coefficients in depth and
- Function computes minimum-phase wavelet with given amplitude spectrum
  • 9.5K (All time)
  • 5 (Last 30 days)
  • 4.9 / 5
  • Community
  • 8 Jul 2009

digamma function

Version 1.0.0.0 by Eric Alvarez

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.

- FDIGAMMA: the PSI (Maple)/POLYGAMMA (Mathematica) function
  • 1.7K (All time)
  • 1 (Last 30 days)
  • 3.0 / 5
  • Community
  • 23 May 2006

OpenOCL - Open Optimal Control Library

Version 7.07 by Jonas

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

ANP: Animated Nyquist Plot

Version 6.0.1.0 by Stefan Rickli

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

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

- % StruveH1 calculates the function StruveH1 for complex argument z
- % StruveL0 calculates the function StruveL1 for complex argument z
- % StruveL0 calculates the function StruveL0 for complex argument z
- % StruveH0 calculates the function StruveH0 for complex argument z
- % StruveH1Y1 calculates the function StruveH1-BesselY1 for complex argument z
- % StruveH0Y0 calculates the function StruveH0-BesselY0 for complex argument z
  • 3.2K (All time)
  • 10 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jun 2012

Chebfun - current version

Version 5.6.0.0 by Chebfun Team

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

- Evaluate polynomial with matrix argument.
- Evaluate polynomial with CHEBFUN argument.
- Convert linear operator to callable function.
- Points at which functions are discretized.
- Differentiate a DISKFUNV with respect to its first argument.
- The number of input arguments to a CHEBOP .OP field.
- Convert TRIGCOLLOC discretization to a CHEBFUN.
- Convert TRIGCOLLOC discretization to a CHEBFUN.
- Differentiate a CHEBFUN3V with respect to its second argument.
- Differentiate a CHEBFUN3V with respect to its third argument.
- Class to convert linear map of function to scalar.
- Linear map of function to function.
- Get a function handle to a gamma function.
- Get a function handle to a phi-function.
- Dirac delta function.
- Smooth random function
- Bessel function of third kind (Hankel function) of a CHEBFUN.
- Jacobi elliptic functions.
- Evaluate a gamma-function.
- Evaluate a psi-function.
- Evaluate a phi-function.
- Compute Lagrange basis functions.
- Prolate spheroidal wave functions.
- Airy function of a CHEBFUN.
- Error function of a CHEBFUN.
- Choose function for CHEBFUN objects.
- Heaviside function of a CHEBFUN.
- Sinc function of a CHEBFUN.
- Sample a function at gridpoints.
- Gamma function of a CHEBFUN.
- Smooth random function in 2D
- Linear operator on a single function.
- Pointwise round function of a CHEBTECH.
- Evaluate rational function in barycentric form.
- Inverse error function of a CHEBFUN.
- Complementary error function of a CHEBFUN.
- Merges delta functions and their locations.
- Computes derivative of trigonometric rational function in
- Random function C-infinity but nowhere analytic
- Estimate the vertical scale of a function.
- Scaled complementary error function of a CHEBFUN.
- Smooth random function on the unit disk
- Inverse complementary error function of a CHEBFUN.
  • 11.4K (All time)
  • 19 (Last 30 days)
  • 4.9 / 5
  • Community
  • 1 Aug 2024

Synthetic Bright-Field Microscopy Image Generator

Version 1.8.0.0 by Patrik Malm

This is a synthetic image generation tool that can create realistic Pap-smear images

- DIRC Directory listing with cell output and optional arguments.
- function boundary = calculate_boundary(bimage)
- PLOT_CLOTH Summary of this function goes here
- interparc: interpolate points along a curve in 2 or more dimensions
- Pick out neighbours and their coordinates
- http://www.semifluid.com/2012/12/05/2d-and-3d-perlin-noise-in-matlab/
- Find the boundary coordinates of the segmentation result
- FIND_CLOSEST_EDGE Locate the closest edge
- EXTRACT OPTIMAL SIMPLE
  • 621 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Mar 2015

Adaptive Affinity Propagation clustering

Version 1.2.0.0 by Kaijun Wang

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

- data: a matrix with each column representing a variable.
- within-, between-cluster and total sum of squares
- computing error rates for every clusters if true labels are given
  • 7.2K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 26 Jul 2009

Tool Validation Kit App

Version 4.2.3 by Dave Hoadley

Copyright 2018-2024 The MathWorks, Inc.

# MathWorks :registered: Tool Validation Kit

- Class to handle running the tool validation kit
- is an example validation test case for some features
  • 539 (All time)
  • 3 (Last 30 days)
  • 4.4 / 5
  • Community
  • 16 Sep 2025

Mittag-Leffler function with matrix arguments

Version 1.1.0.2 by Roberto Garrappa

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

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

- This function check if matrix before move and after move is the same
- This function moves matrix to the bound according to the input orientation.
- This function move element from postion st to ed if element in ed is NaN or
  • 271 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Jul 2014

Validated Input Function

Version 1.0.0.0 by Sky Sartorius

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

- VALIDATEDINPUT Similar to built-in input function but with the added ability
  • 327 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 16 Oct 2015

Phased Array Design Toolbox v2.5

Version 2.5.0.0 by Neill Tucker

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.

- Test calc_patchr_eff function
- Test calc_patchr_eff function
- Ef2 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef3 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef5 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef1 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef4 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef6 : Verify calc_patchc_eff function for estimating patch efficiency and
- Ef6 : Verify calc_patchc_eff function for estimating patch efficiency and
- Ef1_4element : Verify calc_patchr_eff function for estimating patch efficiency and
- VALIDATION EXAMPLE 5
- VALIDATION EXAMPLE 1
- VALIDATION EXAMPLE 2
- VALIDATION EXAMPLE 3
- VALIDATION EXAMPLE 6
- VALIDATION EXAMPLE 4
- Simple plotting routine to plot raw element model data.
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles1)
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles2)
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles3)
- Surface function used by ArrayCalc example exparabpol
- Calculates total E-field pattern for dipole as a function
- Calculates total E-field pattern for patch as a function
- Calculates total E-field pattern for circular patch as a function
- Calculates total E-field pattern for isotropic source as a function
- Calculates total E-field pattern for user element as a function
- Calculate the array vector for the array using the squint_array function
- Calculates total E-field pattern for N-turn helix as a function
  • 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

Version 1.1.0.0 by Tomoki Fukuda

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

- private function to check class name list
- private function to get file extension
- private function to add file extension "xls"
- private function to start Excel as ActiveX server
- private function to read values from excel work sheet
- private function to convert data type to express in excel worksheet
- private function: to read property definition information from a definition file
- private function to convert data type to load as MATLAB variable
- private function to convert a property name to a default name
- private function: to read Simulink Data Object information from a file
- private function: to read Simulink Data Object information from a file
- private function to convert a localized sheet name to a default name
- private function returns the representation of D as a string in base 27
  • 2.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Nov 2008

Equation Check

Version 1.0.0.0 by Siamak Faridani

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

- Equation Check, Equation Validator
  • 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.

Version 1.2.0.0 by Moiseev Igor

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

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

- Convert argument list to char
- Find a valid block parent in argument list
- Convert input to block_input
- User specified an argument
- Creates a simulink MATLAB Function block.
- Function handle to simulink model
  • 466 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 13 Jul 2020

FOMCON Toolbox for MATLAB

Version 1.50.4 by Aleksei Tepljakov

FOMCON toolbox for MATLAB is dedicated to fractional-order modeling and control of dynamic systems.

- Validate fractional model frequency-domain identification results
- Returns input argument workspace name
- Return Z(s) of the fractance circuit in form of a transfer function
- Convert a FOTF object into a CRONE FRAC_TF object
- Convert a commensurate-order fractional-order transfer function to state-space form.
- Convert a commensurate-order fractional-order transfer function to CRONE state space.
- Helper function for IPDT fitting
- Fractional-order transfer function data
- Fractional-order transfer function inverse
- Optimal FPID Design helper function
- Helper function for IPDT fitting
- Fractional system sensitivity function frequencies.
- Helper function for FOPDT fitting
- Fractional-order transfer function coefficient factoring
- Compute quantile function Phi^-1(x)
- Fractional-order transfer function identification tool.
- Fractional-order transfer function analysis tool
- Delay for fractional-order transfer functions
- Charef approximation of an implicit transfer function.
- Static gain of the fractional transfer function
- Implicit fractional transfer function approximation index calculation
- Fractional-order Transfer Function SISO system identification
- Fractional-order transfer function frequency-domain identification.
- Compute fractional time-domain identification cost function.
- Urinary minus for fractional-order transfer functions
- Frequency response of fractional-order transfer functions.
- Matrix power for fractional-order transfer functions
- Creates a new FO transfer function approximation in ZPK
- Fractional-order Transfer Function SISO system identification w/ GUI
- Frac. Transfer Function SISO system parametric identification w/ GUI
- Identify fractional-order tranfer function as integer-order model
- Display the fractional-order transfer function in the command line.
- Return FO TF to Kth output from Lth intput
- Feedback connection of two input/output fractional-order transfer functions.
- Truncate the exponents and coefficients of a fractional-order transfer function.
- Convert a commensurate-order fractional-order transfer function to state-space form.
- Carlson's approximation of the fractional-order transfer function G(s)^(1/M)
  • 21.6K (All time)
  • 149 (Last 30 days)
  • 4.6 / 5
  • Community
  • 25 Nov 2022

The Matrix Function Toolbox

Version 1.0.0.0 by Nick Higham

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

- POLYVALM_PS Evaluate polynomial at matrix argument by Paterson-Stockmeyer alg.
- Matrix Function Toolbox (MFT).
- Welcome to the Matrix Function Toolbox.
- MFT_TEST Test the Matrix Function Toolbox.
- FUNM_EV Evaluate general matrix function via eigensystem.
- SIGNM_NEWTON Matrix sign function by Newton iteration.
- ROOTPM_SIGN Matrix Pth root via matrix sign function.
- FUNM_SIMPLE Simplified Schur-Parlett method for function of a matrix.
- FUNM_CONDEST1 Estimate of 1-norm condition number of matrix function.
- FUNM_CONDEST_FRO Estimate of Frobenius norm condition number of matrix function.
  • 2.6K (All time)
  • 6 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jul 2008

Tabular Expression Toolbox

Version 1.23.0.0 by Colin Eles

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

- Author: Colin Eles elesc@mcmaster.ca
- UNTITLED Summary of this function goes here
- UNTITLED3 Summary of this function goes here
  • 3.2K (All time)
  • 1 (Last 30 days)
  • 4.7 / 5
  • Community
  • 26 Apr 2015

GUI for image processing

Version 1.0.0.0 by Roxy

This is a project that I am doing.

- this function takes in two arguments
  • 5.1K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 13 Apr 2009

ProcessNetwork/ProcessNetwork_Software

Version 1.5.0.0 by Ben Ruddell

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

- -- Validate opts fieldnames.
- -- Calculate transfer function for specified DWT scaling filter.
- -- Calculate transfer function for specified MODWT wavelet filter.
- - Check the data type and size of a function argument.
- -- Calculate transfer function for specified MODWT scaling filter.
- -- Calculate transfer function for specified DWT wavelet filter.
- -- munit test case to test modwt functionality.
- -- munit test case to test modwt_wvar_ci.
- -- Wrapper function for norm2inv.
- -- munit test case to test imodwt function.
- -- munit test case to test assert functions.
- -- Calculate squared gain function for DWT wavelet filter.
- -- Calculate squared gain function for MODWT scaling filter.
- .m -- Make-like utility for compiling wmtsa C functions.
- -- munit test case to test dwt functionality.
- -- munit test case to test modwt_mra functionality.
- -- munit test case to test modwt_wcov.
- -- munit test case to test modwt_wvar.
- -- Wrapper function for chi2inv.
- -- munit test case to test tcase functions.
- -- munit test case to test tsuite functions.
- -- Calculate squared gain function for MODWT wavelet filter.
- -- Calculate squared gain function for DWT scaling filter.
- -- munit test case to test tcase summary functions.
- -- Encode function name, line number and message of failure into error message string and call MU_fail.
  • 1.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 21 Mar 2016

PERMUTOOLS

Version 1.0 by Mick Crosse

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

- Parse input arguments of PERMUTOOLS functions.
- Validate input parameters of PERMUTOOLS functions.
  • 140 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Aug 2024

NXT Scanner with Lego Mindstorms NXT

Version 1.1.0.0 by Yoshiaki Banno

NXT Scanner Model-Based Design based on Embedded Coder Robot NXT.

- private function to check class name list
- private function to get file extension
- private function to add file extension "xls"
- private function to start Excel as ActiveX server
- private function to read values from excel work sheet
- private function to convert a property name to a default name
- private function: to read property definition information from a definition file
- private function to convert data type to load as MATLAB variable
- private function to convert data type to express in excel worksheet
- private function: to read Simulink Data Object information from a file
- private function: to read Simulink Data Object information from a file
- private function to convert a localized sheet name to a default name
- private function returns the representation of D as a string in base 27
  • 3.2K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 May 2009

Load more