Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 3 days ago

Pack & Unpack variables to & from structures with enhanced functionality by Adi Navve

v2struct packs and unpacks variables to and from structures with enhanced functionality. (function inputs, struct2vars, pack)

v2struct

v2structDemo1()

v2structDemo2()

image thumbnail

updated 2 years ago

setarg by Ivar Eskerud Smith

Set value for value/argument pair in varargin/cellstring. See also getarg, hasarg (set argument, varargin, process)

setarg( args, id, val )

image thumbnail

updated 2 years ago

getarg by Ivar Eskerud Smith

Get named argument from varargin (getarg, arguments, varargin)

getarg( args, id, varargin )

image thumbnail

updated almost 3 years ago

chooseargs by Adam Gripton

Allows direct, inline return of any combination of arguments and indices to a function. (inline, function, output)

C=chooseargs(f,argidx,idxc,varargin)

image thumbnail

updated 4 years ago

signature by Peter Cotton

Parse function argument names from an mfile or anonymous function handle (mfile, arguments, nargin)

signature

image thumbnail

updated 8 years ago

digamma function by Eric Alvarez

digamma function for complex arguments (special functions, digamma function, psi)

image thumbnail

updated 9 years ago

outselect.m by Toby Driscoll

Select or reorder any function's output arguments. (function, output, arguments)

outselect(index,func,varargin)

image thumbnail

updated 10 years ago

Parse function arguments by Aslak Grinsted

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

image thumbnail

updated 10 years ago

harmonic.m by David Terr

Harmonic(n) is an estimate of the nth harmonic number. (harmonic number, estimate, nth)

Contact us