image thumbnail

updated 1 day ago

discretefouriertransform.m by NILAKANTHA MEHER

Discrete Fourier transform (general, search, application)

X=discretefouriertransform(Data,timestep)

image thumbnail

updated 7 months ago

multidimentional sorting by Abdullah Caliskan

fast multidimentional sorting (general)

multidimens_sorting.m

image thumbnail

updated 9 months ago

Generalized Truth Table by Brian Moore

Creates truth tables of arbitrary base from binary to decimal (truth, table, truthtable)

abTruthTable(base,bits)

image thumbnail

updated 10 months ago

sumDiag by Marcus Björk

Sum over each diagonal (or anti-diagonal) in a matrix (general, signal processing, matrices)

sumDiag.m

image thumbnail

updated 10 months ago

meanDiag by Marcus Björk

The mean over each diagonal (or anti-diagonal) of a 2D matrix returned in a vector (signal processing, matrices, general)

meanDiag.m

image thumbnail

updated 10 months ago

3D Earth Example by Ryan Gray

Example of creating a 3D textured Earth globe (earth, globe, texture)

earth_example.m

image thumbnail

updated almost 2 years ago

ImportAsciiRaster by Giuliano Langella

Import Arc/Info AsciiRaster (import, raster, ascii)

ImportAsciiRaster(varargin)

image thumbnail

updated almost 2 years ago

Mth Order Piecewise Spline Interpolation by Husam Aldahiyat

A GUI that plots and gives equations for variable order intermediate splines. (splines, general, gui)

Mth Order Piecewise Spline Interpolation

gsp()

image thumbnail

updated 2 years ago

Shepard_Ternary_Plot by William Waite

Shepard ternary plot for sand, silt, clay distributions (shepard ternary, sand, silt)

Shepard(Sand,Silt,Clay)

image thumbnail

updated almost 3 years ago

Calculate pi decimals by Jonas Lundgren

Calculate pi decimals with Machin's formula pi = 16*acot(5) - 4*acot(239) (pi decimals, machins formula, mathematics)

machin(m)

machin0(m)

image thumbnail

updated 3 years ago

ncquiverref by Andrew Roberts

Quiver (vector) with a reference vector or color code on a map or Cartesian axes. (quiver, reference vector, legend)

ncquiverref(x,y,u,v,units,reftype,refvec,veccol,cont)

image thumbnail

updated almost 4 years ago

Generalized outer product by icklePhil

Outer product of two cell arrays with custom operator function. (outer product, outer operation, general)

outer( fun, vec1, vec2 )

image thumbnail

updated 4 years ago

logb by Brett Shoelson

Calculate the log of a number/matrix using a user-specified base. (logarithm, base, conversion)

y=logb(x,b)

image thumbnail

updated 4 years ago

D8 Algorithm for Hydrological Models by Joshua Carmichael

Finds most likely locations for water channels given a potential (d8, hydrology, glacial)

d8alg(Psi,varargin)

image thumbnail

updated 4 years ago

Random Fibonacci Sequence by Giuseppe Cardillo

The surprising behaviour of a random Fibonacci sequence (random fibonacci sequ..., mathematics, general)

rndfibseq.m

image thumbnail

updated 5 years ago

Day Length by Travis Wiens

Calculates the length of daylight for any day and latitude (sun, day, length)

[hours b]=day_length(Day,Latitude)

day_length_example.m

image thumbnail

updated 5 years ago

hashtable class by Christopher

general purpose hashtable (structures, cell arrays, hashtable)

hashtable(varargin)

pumpkin(val)

hashtable_tests.m

image thumbnail

updated 5 years ago

Merge two sorted vectors into a sorted vector by Dr. Murtaza Khan

Merge two sorted vectors 'a' and 'b' into a sorted vector 'c' (merge, sorted, vectors)

c=mergesorted(a,b)

testmergesorted.m

image thumbnail

updated 5 years ago

Binary Search for numeric vector by Dr. Murtaza Khan

Search given value in a sorted vector, returns the index of location where the value is found. (binary search, sorted vector, numeric)

binaraysearchasc(x,sval)

image thumbnail

updated 5 years ago

moneysplit by John T. McCarthy

Divide a sum of money in a certain ratio, making sure that the amounts add up exactly to the total. (accountancy, finance, financial)

moneysplit(x,ratio)

image thumbnail

updated 5 years ago

NetCDF/GRIB reader by Klaus Wyser

A collection of functions to read GRIB and netCDF files (grib, netcdf, cdi)

compile

x=cdi_dates(dates)

cdi_readall.m

image thumbnail

updated 5 years ago

Multiple assignment by Miroslav Balda

The function arg2vars enables to assign more items to a list of variables (general, programming, data handling)

arg2vars(varargin)

image thumbnail

updated 5 years ago

fmfiles - Find missing files by Miroslav Balda

All files declared in an input list, which are not found, are displayed in an error message (general)

fmfiles(varargin)

image thumbnail

updated 5 years ago

Seconds to hours, minutes, seconds by Simon Robinson

Converts a time in seconds to a time in hours, minutes and seconds. (optimization, general, timing)

time_string=secs2hms(time_in_secs)

image thumbnail

updated 5 years ago

RMSE by Felix Hebeler

calculates root mean square error from data vector or matrix and the corresponding estimates. (root mean square erro..., rmse, mathematics)

r=rmse(data,estimate)

image thumbnail

updated almost 6 years ago

domino tiles by ben payne

domino tiles random matrix, filling the matrix like in the game "snake" (domino tiles random m..., domino, matrix)

domino_matrix.m

image thumbnail

updated almost 6 years ago

MCC to estimate the Superficial Ocean Currents on SST images by Paula Lamosa Nunes

This script applies the Maximum Correlation Cross on SST images, to estimate the superficial ocean c (mcc, sst, current field)

EstimatesOceanCurrents_MCC.m

image thumbnail

updated almost 6 years ago

Cornu spiral_Fresnel Integral by Venkata Rama Krishna

Fresnel Integation should be done with numarical methods (cornu spiral, fresnel integral, communications)

cornu_spiral_fresnel_integrals.m

image thumbnail

updated almost 6 years ago

Gauss Hypergeometric Function by Robert Kohlleppel

Gauss hypergeometric function for real z, z<1 (gauss hypergeometric ..., 2f1, mathematics)

[z, y]=hypergeometric2F1ODE(a,b,c,zSpan,relTol,absTolF,ab...

image thumbnail

updated almost 6 years ago

Accumulate Connected Components by Wolfgang Schwanghart

Construct array with accumulation of connected components (accumarray, connected components, mathematics)

accumconncomps(a,b,fun)

image thumbnail

updated almost 6 years ago

Multiconv by Janardhanan Sivaramakrishnan

Convolution of more than two polynomials (convolution, mathematics, general)

multiconv(x1,x2,varargin)

image thumbnail

updated almost 6 years ago

True Random Integer Generator by Ameya Deoras

Download true (not pseudo-) random numbers from random.org's generator (mathematics, general, random integer)

truerand(varargin)

image thumbnail

updated 6 years ago

Generalized Mittag-Leffler function by YangQuan Chen

Computes generalized Mittag-Leffler function (fractional calculus, special function, mittagleffer function)

gml_fun.m

image thumbnail

updated 6 years ago

Paley Type I Hadamard matrices by Gernot Berger

Computes Hadamard matrices (H-matrices) of Paley Type I (hadamard, paley, transform)

paleyI(N)

image thumbnail

updated 6 years ago

Montecarlo simulation by Clement Bernard

estimation of pi, using montecarlo method (montecarlo, pi, stochastic)

monte_carlo.m

image thumbnail

updated 6 years ago

smartconvert by Ali Mohammad Razeghi

Tries to find a set of coordinates that function has simple relations between variables or finds the (convert, simple, function)

smartconvert ( func , cla , p1 , p2 )

image thumbnail

updated 6 years ago

Extended class by Marcel Leutenegger

Class providing calculation with the native floating point format of the processor. (extended, precision, class)

extended.m

image thumbnail

updated 6 years ago

dict by Doug Harriman

General purpose data storage object (dict, data storage, general)

dict

image thumbnail

updated 6 years ago

calcCircle by Peter Bone

Find the circle that passes through 3 non-collinear points. (fit, circle, three)

calcCircle(pt1, pt2, pt3)

image thumbnail

updated 6 years ago

aide mémoire Matlab (seconde édition) by Jean-Thierry

les m-fichiers de l'aide mémore Matlab seconde édition (aidem, matlab, 2007b)

ex_cross.m

ex_fft.m

ex_fgetl

image thumbnail

updated 6 years ago

Sediment Transport Outside of the Surf Zone by Gabriel Ruiz

Sediment Transport Outside the Surf Zone Model. (sediments, waves, currents)

combinedwcbonlay.m

combinedwcbonlay2.m

currentbonlay.m

image thumbnail

updated 6 years ago

Complex step Jacobian by Yi Cao

Calculate Jacobian using complex step differentiation (jacobian, complex step differen..., mathematics)

[A,z]=jacobiancsd(fun,x)

image thumbnail

updated almost 7 years ago

newton_raphso by Ali Mohammad Razeghi

uses Newton-Raphson method ( modified ) to find the root of a function (root, root finding, newton)

newton_raphso ( func , xr , n , es , maxit )

image thumbnail

updated almost 7 years ago

Regular Polygons by Nima Moshtagh

Plots the regular polygon {N/d} with vertices on a circle of radius 'rad'. (regular polygon, graph, star polygon)

polygon(N, d, rad)

image thumbnail

updated 7 years ago

Convert Arabic to Roman by Stacey Gage

Convert Arabic numerals to Roman numerals (roman, arabic, conversion)

arabic2roman( arabic_in )

image thumbnail

updated 7 years ago

Convert Roman to Arabic by Stacey Gage

Convert Roman numerals to Arabic numerals (roman, arabic, conversion)

roman2arabic( roman_in )

image thumbnail

updated 7 years ago

ispair by Kling & Freitag GmbH

find if a natural number is pair or not... (is, pair, impair)

ispair.m

image thumbnail

updated 7 years ago

Gravity Unit Converter of GrAd Program by Cuneyt Aydin

gravity unit converter with GUI (gravity, mikrogal, gal)

unitc(varargin)

image thumbnail

updated 7 years ago

Dragon Curve (aka Jurassic Park Fractal) by Joseph Kirk

Plots user specified variations of the Dragon Curve (fractals, dragon curve, jurassic park fractal)

DRAGON CURVE (aka JURASSIC PARK FRACTAL)

image thumbnail

updated almost 8 years ago

Stirling Numbers of the Second Kind by Nikolaus Correll

Calculates the Stirling Numbers of the Second Kind (stirling, second, kind)

S=stirling(n,k)

Contact us