image thumbnail

updated 2 years ago

inpaint_nans by John D'Errico

Interpolates (& extrapolates) NaN elements in a 2d array. (nan, inpainting, replace)

(nn(:,1)<1)|(nn(:,1)>n)|(nn(:,2)<1)|(nn(:,2)>m); nn(L,...

valid{ind}; end end

inpaint_nans_demo.m

image thumbnail

updated 8 months ago

polyfitn by John D'Errico

Polynomial modeling in 1 or n dimensions (polyfit, modeling, regression)

polyfitn_demo

polydern(p,diffvar)

polyfitn(indepvar,depvar,modelterms)

image thumbnail

updated almost 6 years ago

smooth2a by Greg Reeves

Smooths a 2D matrix using a mean filter over a user-defined rectangle. Ignores and preserves NaNs. (2d, approximation, interpolation)

image thumbnail

updated 1 year ago

Bilinear interpolation of an image or matrix by Disi A

This function performs bilinear interpolation for a given image or matrix at any location (image processing, signal processing, optimization)

interVal=interpImg(img,yx,zpad)

image thumbnail

updated almost 9 years ago

Alamouti Space-Time Code by Massimo Allegritti

A function that simulate the Alamouti Space-Time code. (wireless, alamouti, space)

H=rey(Nt,Nr)

ber_ml=Alamoudi(snr,soglia);

image thumbnail

updated 2 years ago

QPSK over Rayleigh fading Channel by Sourav Mondal

The BER of QPSK scheme over AWGN & Rayleigh fading channel. (communications, data export, data import)

Refresh(Received)

qpsk_rayl.m

image thumbnail

updated 3 years ago

FilterM by Jan Simon

A faster FILTER and FILTFILT: Speedup factor 2.5 to 25 (signal processing, cmex, filter)

FiltFiltM(b, a, X, Dim)

FilterM(b, a, X, Z, Dim, Reverse)

uTest_FiltFiltM(doSpeed)

image thumbnail

updated 1 year ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

K-means clustering is a popular vector quantization method for data compression. (image processing, simulation, demo)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated almost 3 years ago

Data matrix whitening by Colorado Reed

A simple function to whiten a data matrix (makes the covariance matrix the identity matrix). (matrix, signal processing, statistics)

whiten(X,epsilon)

image thumbnail

updated 1 year ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

Fit a 2D rotated gaussian. http://en.wikipedia.org/wiki/Gaussian_function (image processing, optimization, signal processing)

fmgaussfit(xx,yy,zz)

image thumbnail

updated 9 years ago

naninterp by E. Rodriguez

One dimensional Interpolation over NaNs. (matrices, nan, nans)

naninterp(X)

image thumbnail

updated 10 years ago

smooth2 by Kelly Hilands

Smooths the data in a 2D matrix with a user-defined resolution. (approximation, interpolation, 2d)

image thumbnail

updated 1 year ago

DateStr2Num by Jan Simon

Convert date string to date number - C-Mex: much faster than DATENUM (date, number, serial)

DateStr2Num(S, F)

uTest_DateStr2Num(doSpeed)

image thumbnail

updated 3 years ago

Example using a MATLAB Class to control a GUI by Alex

This example shows how to use a Matlab class to control a gui. (class, gui, passing gui data)

standard_fig(varargin)

gui_class_example

image thumbnail

updated 3 years ago

Vold-Kalman order tracking code by Scot McNeill

Separates system orders from single channel of rotating machinery data. (automotive, signal processing, data exploration)

[Sxx_m,freq,time]=p_gram(varargin)

hann_p(npt)

spec_plot2(varargin);

image thumbnail

updated 4 years ago

image processing-zooming an image using Bilinear interpolation by Dimuthu Senanayaka

Bi linear interpolation method has been used here for zooming images by a positive integer factor. (image processing, mathematics, matrix)

bilinear_zoom(file,fac)

image thumbnail

updated 2 years ago

CELP codec by Sourav Mondal

This is a code to demonstrate CELP codecs of bitrate 9.6kbps and 16kbps. (celp, audio codec, lpc)

celp16k(x,N,L,M,c,cb,Pidx)

celp9600(x,N,L,M,c,cb,Pidx)

celpana(x,L,M,c,cb,Pidx,bbuf,ebuf,Zf,Zw)

image thumbnail

updated 28 days ago

piecewise cubic interpolation by Orlando Rodríguez

Code to interpolate function values and corresponding derivatives. (approximation, interpolation, derivatives)

pcinterp( x, y, xi, stype )

image thumbnail

updated 2 years ago

Nonnegative Matrix and Tensor Factorization (NMF, NTF) with any beta-divergence by Antoine Liutkus

very simple to use implementation of the NMF/NTF model (nmf, ntf, nonnegative)

betaNTF(V,K,varargin)

image thumbnail

updated 1 year ago

Locally Adaptive Kernel Density Estimation by Hideaki Shimazaki

Kernel density estimation with bandwidths locally adapted to data. (statistics, bandwidth, kernel)

sshist(x,N)

sskernel(x,tin,W)

ssvkernel(x,tin)

image thumbnail

updated almost 5 years ago

ConvolveGUI by Erik Cheever

A GUI for graphically demonstrating the convolution process. (filter design, filter analysis, convolution signals)

ConvolveAnimParam(varargin)

ConvolveFuncs

ConvolveGUI_fig(varargin)

image thumbnail

updated 2 months ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 9 months ago

Positive-Definite Matrix by Muhammad Asim Mubeen

This function returns a positive-definite symmetric matrix. (matrix, matrices, nonlinear)

Spd_Mat(A)

image thumbnail

updated 8 years ago

Jitter by Richie Cotton

Adds a small amount of noise to an array. Ideal for signal processing or chaos theory. (jitter, random, noise)

jitter(x, factor, uniformOrGaussianFlag, smallOrRangeFlag...

image thumbnail

updated 3 years ago

Encryption/Coding and Minimzing Data by Mohammed Siddeq

this program used in the Encryption/Coding and Minimize array size at the same. (communications, image processing, signal processing)

[EncryptedData,Table]=Encryption_Coding_Minimize_Array_Al...

[KEY]=Key_generater(StartValue,MAX_VALUE,Factor)

[New_arr]=Decryption_Deoding_Minimized_Array_Algorithm(Ke...

image thumbnail

updated almost 3 years ago

Monte Carlo Markov Chain for inferring parameters for an Ordinary Differential Equation model by Soumya Banerjee

This function uses a Monte Carlo Markov Chain algorithm to infer parameters for an ODE model (biotech, data export, data import)

mcmc_ode

analyze_mcmc(parallel)

test_gamma()

image thumbnail

updated almost 6 years ago

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

Greedy Algorithms for Underdetermined but Sparse Solutions (image processing, simulation, signal processing)

A=matrix_normalizer(B)

GenSig(n, k)

OLS(A, y, m, err)

image thumbnail

updated almost 8 years ago

fractional differentiator by Farshad Merrikh bayat

This function calculates the fractional differentiate of a given input signal. (signal processing, fractional differenti..., derivative)

image thumbnail

updated 5 years ago

imagescnan.m v2.1 (Aug 2009) by Carlos Adrian Vargas Aguilera

Same as IMAGESC but ignores NaNs. (specialized, plotting, imagesc)

imagescnan(varargin)

image thumbnail

updated 6 years ago

evaluating SHORT TIME FOURIER TRANSFORM of a stationary signal by payel mukherjee

the STFT of a nonstationary signal taking highly overlapping rectangular window. (rectangle, signal processing, matrix)

image thumbnail

updated 10 years ago

polyvac by Vassili Pastushenko

Vectorized "polyval" for columns of a matrix (approximation, interpolation, polynomial values)

image thumbnail

updated 5 years ago

Non Convex Algorithms for Group Sparse Optimization by Angshul Majumdar

Reweighted Lm,p algorithm Smoothed L2,0 algorithm (image processing, simulation, signal processing)

GenGroupSparseProblem(m, n, nGroups, activeGroups)

GenerateProblem(channel_length, pilot_length, channel_spa...

l2p_re(A,y,p,group)

image thumbnail

updated 5 years ago

Gaussian Pyramid by Pranam Janney

Generates a gaussian pyramid for the given input image (image processing, mathematics, data import)

Gscale(img,levels,gsize,sigma);

image thumbnail

updated 10 years ago

Fast Deconvolution by Stephen McGovern

Deconvovles one extremely large vector out of another extremely large vector, in reasonable time. (dsp, deconvolution, deconvovles)

[x]=fdeconv(y, h)

image thumbnail

updated almost 3 years ago

Graphical User Interface for Solving Ordinary Differential Equations by Soumya Banerjee

A Graphical User Interface for Solving Ordinary Differential Equations (Immune Response Model) (data export, data import, gui)

odecall_eclipse_tcl_jv_local(target,infected,...

odesolver_outline(varargin)

image thumbnail

updated 1 month ago

repnan by Chad Greene

Replace NaNs in a 1D array by interpolation (interpolation, nan, nans)

repnan documentation

repnan(x,method)

image thumbnail

updated almost 6 years ago

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

Greedy Algorithms for Underdetermined but Sparse Solutions (optimization, signal processing, simulation)

A=matrix_normalizer(B)

GenSig(n, k)

OLS(A, y, m, err)

image thumbnail

updated 2 years ago

Draw line with Arrows in 3D by Sabesan

draw_line3 draw line with directional arrow/arrows for the given 3D vector coordinates. (arrow, line in 3d, vector)

draw_line3(p1, p2, varargin)

image thumbnail

updated 1 month ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select the timestamp style. (calendar date, date, iso 8601)

datenum8601(Str,Tok)

image thumbnail

updated 5 years ago

interpsinc.m by Michael Minardi

This M-File interpolates a sampled function using sin(x)/x (approximation, interpolation, interpolate)

interpsinc(xi,f,varargin)

image thumbnail

updated 1 month ago

Random Data Classification by Etienne Combrisson

Create and classify random data sets (signal processing, classification, random)

ClassifyLDA(x,y,cross_type,cross_nb,rep)

StatTh(y,alpham)

StatThInv(y,DA)

image thumbnail

updated 1 year ago

IMComp-Image Compression Software by Saurabh Aggarwal

IMComp is an Image Compression tool useful for compressing digital JPG images. (image processing, gui, optimization)

IMComp(varargin)

imagecompression.m

image thumbnail

updated almost 13 years ago

General Extra Toolbox by Frederico D'Almeida

Generic functions for matrix manipulation, image processing, etc. (matrices, matrix, fft)

COUNT(X)

Y =addpaths(varargin)

Y=pad(varargin)

image thumbnail

updated 2 years ago

Round Toward Vector of Values by Tom R

Round values towards a given vector of choices. (round, fix, floor)

newnums=roundtowardvec(X,roundvec,type)

image thumbnail

updated 5 years ago

Thin Plate Spline Network with Radiohead Example by Travis Wiens

Thin plate splines can be used to interpolate nonuniform data, such as the Radiohead dataset, which (approximation, interpolation, thin plate spline)

[a, xc]=train_thin_plate_spline(x,y)

y_hat=sim_thin_plate_spline(x,x_c,a);

tps_radiohead_example.m

image thumbnail

updated 4 years ago

Kalman filter by Salil Banerjee

This is an implementation of a Kalman filter for a two-variable, constant velocity-model. (kalman filter, mathematics, signal processing)

KalmanFilter(Data,T,X0,Y0,GTData,...

image thumbnail

updated 3 years ago

Extrimely fast general n-dimensional interpolators by Quant Guy

Mex C++ interpolator routines for general pp-forms in any dimension. Multithreaded. (interpolation, ppform, mex)

InterpTests(nSites,nLoops)

Results

docs

image thumbnail

updated 29 days ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

findvalues(vector,yvalue)

image thumbnail

updated almost 12 years ago

findnearest.m by Thomas Benson

Find the nearest value in an array to a test value. (approximation, interpolation, find nearest)

image thumbnail

updated 3 years ago

Buffer and UnBuffer using Simulink Blocks by Roni Peer

A simple way to model Buffer and UnBuffer blocks, using just Simulink Blocks. Contains also a test. (buffer, unbuffer, simulink)

BufferSL_UL

Contact us