image thumbnail

updated 2 years ago

inpaint_nans by John D'Errico

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 9 months ago

polyfitn by John D'Errico

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 23 days ago

Numerical Integration Toolbox by George Papazafeiropoulos

George Papazafeiropoulos

Contains several numerical integration rules to evaluate the integral of a function (abscissa, adaptive, chebyshev)

Adaptive Numerical Quadrature Theory

Integration Point Calculation Theory

Quadrature Rule Theory

image thumbnail

updated almost 6 years ago

smooth2a by Greg Reeves

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 28 days ago

DateStr2Num by Jan Simon

Jan Simon

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

DateStr2Num(S, F)

InstallMex(SourceFile, varargin)

uTest_DateStr2Num(doSpeed)

image thumbnail

updated 3 years ago

FilterM by Jan Simon

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

Bilinear interpolation of an image or matrix by Disi A

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 1 year ago

Fit 2D Gaussian with Optimization Toolbox by Nathan Orloff

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

E. Rodriguez

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

naninterp(X)

image thumbnail

updated 6 years ago

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

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 3 months ago

Random Data Classification by Etienne Combrisson

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 2 years ago

CELP codec by Sourav Mondal

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 almost 3 years ago

QPSK over Rayleigh fading Channel by Sourav Mondal

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 almost 2 years ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

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 8 years ago

fractional differentiator by Farshad Merrikh bayat

Farshad Merrikh bayat

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

image thumbnail

updated 3 years ago

Example using a MATLAB Class to control a GUI by Alex

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 2 years ago

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

Antoine Liutkus

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

betaNTF(V,K,varargin)

image thumbnail

updated 27 days ago

echeever/ConvolveGUI by Erik

Erik

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

image thumbnail

updated 3 years ago

Vold-Kalman order tracking code by Scot McNeill

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 3 years ago

Data matrix whitening by Colorado Reed

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 26 days ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

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 1 year ago

Locally Adaptive Kernel Density Estimation by Hideaki Shimazaki

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 9 years ago

Jitter by Richie Cotton

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 10 years ago

Fast Deconvolution by Stephen McGovern

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 5 years ago

Non Convex Algorithms for Group Sparse Optimization by Angshul Majumdar

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

Pranam Janney

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

Gscale(img,levels,gsize,sigma);

image thumbnail

updated 3 years ago

Encryption/Coding and Minimzing Data by Mohammed Siddeq

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 5 years ago

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

Carlos Adrian Vargas Aguilera

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

imagescnan(varargin)

image thumbnail

updated 3 months ago

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

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 4 years ago

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

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 almost 6 years ago

Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction by Angshul Majumdar

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 13 years ago

General Extra Toolbox by Frederico D'Almeida

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 9 years ago

Alamouti Space-Time Code by Massimo Allegritti

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 6 years ago

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

payel mukherjee

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

image thumbnail

updated almost 3 years ago

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

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 2 years ago

Bistatic Ambiguity Function by Luigi

Luigi

To calculate the Ambiguity function for a bistatic Radar (bistatic, radar, ambiguity)

varargout=bisambfun(u,r,fs,cut)

image thumbnail

updated 11 months ago

Positive-Definite Matrix by Muhammad Asim Mubeen

Muhammad Asim Mubeen

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

Spd_Mat(A)

image thumbnail

updated 12 years ago

findnearest.m by Thomas Benson

Thomas Benson

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

image thumbnail

updated 10 years ago

smooth2 by Kelly Hilands

Kelly Hilands

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

image thumbnail

updated 5 years ago

Thin Plate Spline Network with Radiohead Example by Travis Wiens

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 5 years ago

ScaleTime by Jan Simon

Jan Simon

Fast linear interpolation of equally spaced data (C-MEX and M) (interpolation, linear, lookup)

ScaleTime(Y, Ti, Tf, Tn)

TestScaleTime(doSpeed)

image thumbnail

updated 2 years ago

Pseudo Random Network Coding using Diagonal Matrix by Mohammad Hossain

Mohammad Hossain

In order to reduce transmission times and recover loss packets development of PRNC code. (communications, mathematics, simulation)

NCL(A)

image thumbnail

updated 10 years ago

polyvac by Vassili Pastushenko

Vassili Pastushenko

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

image thumbnail

updated almost 3 years ago

Object Oriented Digital Clock by James Kristoff

James Kristoff

Shows time in 24 hour format. Can use it for stopwatches, clocks or anything that display numbers. (time, class, seven segment display)

clockColon

clockSegment

digiClock

image thumbnail

updated 2 years ago

Round Toward Vector of Values by Tom R

Tom R

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

newnums=roundtowardvec(X,roundvec,type)

image thumbnail

updated almost 3 years ago

BER of BPSK & DEPSK over Rayleigh fading chanel by Sourav Mondal

Sourav Mondal

Plots the BER of BPSK & DEPSK schemes over Rayleigh fading channel. (communications, data import, demo)

maximum number of Rx antennas

maximum number of Rx antennas

main_DEPSK_mrc.m

image thumbnail

updated 3 months ago

repnan by Chad Greene

Chad Greene

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

repnan documentation

repnan(x,method)

image thumbnail

updated 5 years ago

interpsinc.m by Michael Minardi

Michael Minardi

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

interpsinc(xi,f,varargin)

image thumbnail

updated almost 3 years ago

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Tristan Ursell

Convolve two matrices at sub-pixel resolution, using bilinear interpolation. (matrix, convolve, convolution)

matout=matoverlay(mat1,mat2,x,y)

image thumbnail

updated 3 years ago

Buffer and UnBuffer using Simulink Blocks by Roni Peer

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