Main Content

22,944 results in File Exchange

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

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

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

  • 613 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Oct 2020

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

  • 757 (All time)
  • 5 (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

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)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 8 Nov 2010

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

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

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

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)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 19 Jan 2020

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

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)
  • 4 (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)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Dec 2020

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

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

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

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

  • 184 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Dec 2023

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

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 (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.
- Example Hybrid System with External Functions (Bouncing Ball)
- A collection of functions useful for working with hybrid systems.
- Example Hybrid System with Embedded Functions (Bouncing Ball with Input)
  • 8.2K (All time)
  • 12 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Oct 2022

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 with color (n states and n hybrid time
- Hybrid arc plot (n states and n hybrid time domains).
- 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
  • 317 (All time)
  • 6 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 May 2024

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 Etc=grTranClos(E) built
- Function Cycles=grCycleBasis(E) find
- Function Dec=grDecOrd(E) solve
- Function Ec=grEccentricity(E) find the (weighted)
- Function CoCycles=grCoCycleBasis(E) find
- Function nMST=grMinSpanTree(E) solve
- 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 [pTS,fmin]=grTravSale(C) solve the nonsymmetrical
- Function dSP=grShortPath(E) solve the problem about
- Function CBG=grCoBase(E) find all contrabases of digraph.
- Function eu=grIsEulerian(E) returns 1 for Eulerian graph,
- function mCol=grColEdge(E) solve the color graph problem
- Function nMM=grMaxMath(E) solve the maximal matching problem.
- function nCol=grColVer(E) solve the color graph problem
- function nCol=grColVer(E) solve the color graph problem
- Function ncV=grComp(E,n) find all components of the graph.
- Function nMC=grMinEdgeCover(E) solve the minimal edge cover problem.
- Function dMVP=grShortVerPath(E,Wv) for digraph with weighted vertexes
- Function nMS=grMinAbsEdgeSet(E) solve the minimal absorbant set problem
- Function nMC=grMinVerCover(E,d) solve the minimal vertex cover problem.
- Function nMS=grMaxStabSet(E,d) solve the maximal stable set problem.
- Function nMS=grMinAbsVerSet(E,d) solve the minimal absorbant set problem
  • 43.5K (All time)
  • 3 (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

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
  • 245 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 26 Apr 2013

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 computes reflection coefficients;
- Function normalizes seismic traces
- 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 filters seismic input data
- Function creates a "standard" title
- Function plots a rectangular box
- Function computes n binomial coefficients
- Function runs set-up function "presets" in case it has not yet been run.
- Function plots values of seismic headers
- Function computes reflection coefficients from impedance
- Function interpolates in the frequency domain;
- 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 appends one log structure to another.
- Function convolves the two input vectors/matrices
- Function creates convolution matrix of the form
- Function creates a figure window in landscape mode
- Function manipulates curve(s) of a log structure
- Function computes a weighted average using symmetric weights
- Function computes running average over specified log curves
- Function computes elastic impedance log for given angles
- Function computes the numerical approximation to the definite
- Function plots seismic data in wiggle-trace form.
- Function plots log curves into one plot window
- Function plots seismic data in wiggle-trace form.
- Function retrieves subset of log from log structure
- Function computes the numerical approximation to the indefinite
- Function plots grid lines at coordinate(s) d
- Function creates a figure window in portrait mode
- Function manipulates header(s) of a seismic dataset
- Function plots seismic data in color-coded form.
- Function applies user-specified time shifts to seismic traces
- Function gets the marker symbol associated with index "index"
- Function substitutes standardized set of units for input units
- Function outputs index of header in seismic structure "seismic".
- 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)
  • 3 (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

  • 441 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jul 2017

Adaptive Affinity Propagation clustering

Version 1.2.0.0 by Kaijun Wang

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

- within-, between-cluster and total sum of squares
- data: a matrix with each column representing a variable.
- 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

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

- % StruveL0 calculates the function StruveL0 for complex argument z
- % StruveH0 calculates the function StruveH0 for complex argument z
- % StruveH1 calculates the function StruveH1 for complex argument z
- % StruveL0 calculates the function StruveL1 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)
  • 7 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jun 2012

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

Contour Correspondence via Ant Colony Optimization

Version 1.1.0.0 by Oliver van Kaick

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

- % This function computes the range of valid assignments for a vertex,
- % This function computes the length of a contour
- % This function computes the cost for a given matching
- % This function uses numerical labelling to show the correspondence
- % This function returns the *signed* area of a triangle
- % This function constructs a matching for the ACO algorithm
- % This function returns a similarity matrix for two sets of
- % This function returns a similarity matrix for two sets of
- % This function updates the pheromone matrix according to a set of
- % This function computes the area enclosed by a closed 2D contour.
- % This function normalizes the area enclosed by a closed 2D contour
- % This function plots a contour specified by a list of 2D points
  • 4.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 May 2009

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
- Ef6 : Verify calc_patchc_eff function for estimating patch efficiency and
- Ef5 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef6 : Verify calc_patchc_eff function for estimating patch efficiency and
- Ef3 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef2 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef4 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef1 : Verify calc_patchr_eff function for estimating patch efficiency and
- Ef1_4element : Verify calc_patchr_eff function for estimating patch efficiency and
- VALIDATION EXAMPLE 3
- VALIDATION EXAMPLE 5
- VALIDATION EXAMPLE 1
- VALIDATION EXAMPLE 2
- VALIDATION EXAMPLE 6
- VALIDATION EXAMPLE 4
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles3)
- Simple plotting routine to plot raw element model data.
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles2)
- RMS E-FIELD COMPARISON WITH 4NEC2 (valdipoles1)
- 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 user element 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
- 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.3K (All time)
  • 8 (Last 30 days)
  • 4.9 / 5
  • Community
  • 18 Sep 2015

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

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)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Feb 2021

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.

- Simulation function of off-resonance SPGR for given MT parameters and
- qMRLab command line tool to calculate/cache the Sf table for a
- interpolate Sf values from precomputed table
- Simulate magnetization after full sequence for all Ti and return Mzf
- Simulate Mz0, magnetization of free pool on steady-state,
- Simulate FSE acquisition sequence and returns Mz at the end
- Precompute the values of Sf for a range of MT pulse angles,
- Compute the constant wave equivalent power over a period TR for a given pulse
- Compute the equivalent power of a rectangular pulse of same
- Function who's
- Summary of this function goes here
- Summary of this function goes here
- S Analytical equations for the longitudinal magnetizations of
  • 931 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 7 Dec 2023

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 read property definition information from a definition file
- 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 data type to express in excel worksheet
- 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 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

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
  • 469 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 13 Jul 2020

Panic Simulator

Version 1.1.0.0 by Julian

Simulates panic behaviour in modifiable rooms with one exit

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

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

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

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.
- Fractional system sensitivity function frequencies.
- Fractional-order transfer function inverse
- Helper function for FOPDT fitting
- Helper function for IPDT fitting
- Fractional-order transfer function data
- Optimal FPID Design helper function
- Helper function for IPDT fitting
- Compute quantile function Phi^-1(x)
- Fractional-order transfer function analysis tool
- Fractional-order transfer function coefficient factoring
- Fractional-order transfer function identification tool.
- Delay for fractional-order transfer functions
- Fractional-order transfer function frequency-domain identification.
- Static gain of the fractional transfer function
- Charef approximation of an implicit transfer function.
- Implicit fractional transfer function approximation index calculation
- Fractional-order Transfer Function SISO system identification
- Compute fractional time-domain identification cost function.
- Matrix power for fractional-order transfer functions
- Frequency response of fractional-order transfer functions.
- Urinary minus for fractional-order transfer functions
- Fractional-order Transfer Function SISO system identification w/ GUI
- Creates a new FO transfer function approximation in ZPK
- Identify fractional-order tranfer function as integer-order model
- Frac. Transfer Function SISO system parametric identification w/ GUI
- 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.7K (All time)
  • 99 (Last 30 days)
  • 4.6 / 5
  • Community
  • 25 Nov 2022

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

PERMUTOOLS

Version 1.0 by Mick Crosse

A MATLAB package for multivariate permutation testing and effect size measurement

) 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 headers.## ContentsPERMUTOOLS consists of the following

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

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.
- -- Wrapper function for norm2inv.
- -- munit test case to test modwt_wvar_ci.
- -- 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.
- -- Wrapper function for chi2inv.
- -- munit test case to test modwt_wvar.
- -- munit test case to test modwt_mra functionality.
- -- munit test case to test modwt_wcov.
- -- munit test case to test tsuite functions.
- -- munit test case to test tcase functions.
- -- Calculate squared gain function for DWT scaling filter.
- -- Calculate squared gain function for MODWT wavelet 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

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.
- MFT_TEST Test the Matrix Function Toolbox.
- SIGNM_NEWTON Matrix sign function by Newton iteration.
- FUNM_SIMPLE Simplified Schur-Parlett method for function of a matrix.
- FUNM_CONDEST_FRO Estimate of Frobenius norm condition number of matrix function.
- Matrix Function Toolbox (MFT).
- Welcome to the Matrix Function Toolbox.
- FUNM_EV Evaluate general matrix function via eigensystem.
- ROOTPM_SIGN Matrix Pth root via matrix sign function.
- FUNM_CONDEST1 Estimate of 1-norm condition number of matrix function.
  • 2.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jul 2008

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 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 data type to load as MATLAB variable
- private function: to read property definition information from a definition file
- private function to convert a property name to a default name
- 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

Fresnel integral

Version 1.0.0.0 by Bora Ung

Computes the Fresnel integral with complex argument "z"

This function computes the Fresnel integral "FresnelI(z)" with argument "z" either real or complex, and where FresnelI(z) = FresnelC(z) + i*FresnelS(z). USAGE: [FresnelI] = FresnelI(z, tol

  • 1.8K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 Dec 2007

farg: a pedestrian M-file parser showing all used functions' syntax

Version 1.8.0.0 by us

parses an M-file searching for functions and prints their exact, literal syntax

FARG parses an M-file (function or script) searching for function tags and lists their exact, literal syntax.in addition, FARG displays a wide variety of file statistics.currently, these functions

- FARGTESTFARG test function
- FARGto look up function syntax in an M-file
  • 4.7K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Jun 2010

kutzer/TransformationToolbox

Version 1.0.0.0 by Michael Kutzer

Transformation Toolbox

- checks all elements of cell arrays containing
- homogeneous shear along the x-direction
- homogeneous scaling along the y-direction
- calculates a transformation matrix (SE3) from four DH parameters.
- homogeneous rotation about the x-axis (radians)
- homogeneous shear along the xz-direction
- returns an element of the rotation group SO(3) given a
- homogeneous scaling along the z-direction
- homogeneous translation along the y-axis
- homogeneous shear along the y-direction
- homogeneous rotation about the z-axis (radians)
- converts an Nx1 vector into a skew-symmetric matrix
- homogeneous shear along the xy-direction
- homogeneous shear along the yz-direction
- homogeneous rotation about the y-axis (radians)
- converts an NxN skew-symmetric matrix into a vector defined by the
- homogeneous translation along the z-axis
- adds a reference frame to an axes using red/green/blue to represent
- homogeneous scaling along the x-direction
- homogeneous translation along the z-axis
- approximates the mean of a sample of rigid body transformations.
- defines the basis elements of the Lie algebra associated with the
- finds the nearest element to the special Euclidean group given
- calculates the world or body-fixed manipulator Jacobian
- converts an Mx1 vector into an element of se(n) (the Lie algebra
- converts an Nx1 vector into a skew-symmetric matrix
- calculates a transformation matrix (SE3) associated with
- gets properties specified as name/value pairs from an
- checks each element of an array to see if it zero. If all elements
- creates a random, n-dimensional homogeneous rigid body
- Calculates the inverse of an element of the Special Euclidean group
- converts an element of SO(n) to SE(n).
- parameterizes one or more elements of SE(N) using a
- defines the basis elements of the Lie algebra associated with the
- creates a linear interpolation between two vectors given a
- calculates the matrix exponential of an element of the special
- calculates the matrix natural log of an element of the special
- calculates the matrix exponential of an element of the special
- calculates the summed distance between assigned
- plots the coordinate frames and links associated with a DH
- solves the inverse kinematics problem numerically
- calculates the n-dimensional cross product following the the
- converts an NxN skew-symmetric matrix into a vector defined by the
- converts an NxN element of se(n) (the Lie algebra associated with
- approximates the covariance of a sample of rigid body
- calculates the between elements of SE(N). Rotation distances
- calculates the matrix natural log of an element of the special
- isolates the element of SO(N) from SE(N)
- hides the x, y, and z-direction and labels of the specified
- calculates the distance between elements of SO(N) using the
  • 504 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Mar 2024

Load more