image thumbnail

updated 19 days ago

Linear regression for multiple category data with different slopes for each by Soumya Banerjee

The function does OLS and RMA regression on data that is categorized into two different categories (aerospace, biotech, communications)

regress_plot_twocategories_allslope

image thumbnail

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

Between numbers by Håvard Falck

Find values betwee original values in a vector (interpolation, vector, linear)

intAB.m

image thumbnail

updated 4 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 5 months 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 timestamp style. (calendar date, date, datenum)

datenum8601(Str,Tok)

image thumbnail

updated 9 months ago

Vandermonde matrix, vander() function extension by Marcus Björk

Adds functionality to the original MATLAB vander() function. (signal processing, matrix)

vander2(v,k)

image thumbnail

updated 10 months 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 10 months ago

Discrete Fourier transform by Sidhanta Kumar Panda

Use this code to find the DFT sequence (image processing, signal processing, communications)

dft.m

image thumbnail

updated 10 months ago

Circular convolution by Sidhanta Kumar Panda

This code finds the Circular convolution (image processing, signal processing, communications)

circconv.m

image thumbnail

updated 10 months 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 12 months 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 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 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 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 1 year 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)

varargout=findvalues(vector,yvalue)

image thumbnail

updated 1 year ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (data export, data import, communications)

fft_calc(X,fs)

image thumbnail

updated 1 year ago

1D DOA Estimation with Partial Covariance Matrix and without Eigendecomposition by Youssef KHMOU

Fast algorithm for 1D AOA with partial Covariance matrix. (wireless, matrix, signal processing)

f=Partial_doa(N,P,L,Theta,s,v,Fc)

Demo.m

image thumbnail

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

Modified gradient for gpuArray's by boyexex

Slightly modified the gradient function of MATLAB that is usable for gpuArray. (image processing, signal processing, mathematics)

ggradient(f,varargin)

image thumbnail

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

Linear regression with statistics for multiple category data by Soumya Banerjee

This function does linear regression with statistics for multiple category data (OLS and RMA) (aerospace, automotive, biotech)

regress_plot_twocategories

image thumbnail

updated 1 year ago

Generates test sample(audio) by Chandra

Generates test samples by randomly combining a known set of test data. (utility, test, random)

generateTestData(data_loc,n,len,save,r)

image thumbnail

updated almost 2 years ago

Draw lines with arrows by Sabesan

Draw lines with arrows. Multiple optional parameters are given for controlling the arrow and line (draw lines, plot, figure)

draw_line2(p1, p2, varargin)

image thumbnail

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

Pseudo Random Network Coding using Diagonal Matrix by Mohammad Hossain

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

NCL(A)

image thumbnail

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

Bistatic Ambiguity Function by Luigi

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

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

image thumbnail

updated 2 years ago

Kolam Generator by Janardhanan Sivaramakrishnan

This suite of functions can be used to generate geometric line drawing of Kolams. (mathematics, matrix, interpolation)

M=propose_kolam1D(size_of_kolam)

M=propose_kolam2D(size_of_kolam)

[N,len,Island]=count_islands(M)

image thumbnail

updated 2 years ago

Block Circulant Matrix package for MATLAB by Stephen Forsythe

Allows compact representation of block-circulant matrices and fast operations (*,\,pinv,etc). (blockcirculant, circulant, fast inverse)

BlockCirculant

test_BlockCirculant.m

image thumbnail

updated 2 years ago

BER of BPSK & DEPSK over Rayleigh fading chanel by 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 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 2 years 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 2 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 2 years ago

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

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

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

image thumbnail

updated 2 years ago

Interactive curve class by Maxim Vedenyov

change curve by markers drag-and-drop (interactive, curve, interpolation)

example4(varargin)

ic=example3

interactive_curve

image thumbnail

updated 2 years ago

Object Oriented Digital Clock by 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

Find the "I J K" indices of any element number "e" in the 2D or 3D matrix by sunil anandatheertha

Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number (aerospace, automotive, communications)

[row,column,plane]=findijk(e,rcp)

image thumbnail

updated 2 years ago

b-spline recursion by Basel alnabulsi

A recursive function that computes the b-spline basis atoms, it's very compact (bspline, recursion, interpolation)

spline_recursion (u,n)

image thumbnail

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

FFT for input sequence of any length by Jitendra Dalei

This program can calculate FFT of a sequence of length 2^n, where n < ∞ (fft, signal processing, matrix)

anyinputfft.m

image thumbnail

updated 2 years ago

Simple Draw Helix Spring 3D Rotate Translate Transform Dilate Save JPG by AMITAVA BISWAS

Simple Draw Helix Spring 3D Rotate Translate Transform Dilate Save JPG (demo, image processing, mathematics)

biswas47.m

image thumbnail

updated 2 years ago

Bit-slicing function for integer matrices by Damon Bradley

function E = bitreslice(A,b_old, b_new, echo_on) Re-packages bits of a matrix of integers. (bit vector, bit slicing, rearrange bits)

bitreslice(A,b_old, b_new, echo_on)

image thumbnail

updated 2 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

image thumbnail

updated 2 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 2 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

Unprotect Excel sheet by rasam aliazizi

unprotecting a password protected sheet in excel, function requires a password to do that. (finance, gui, signal processing)

ProtecStatus2(Excel, password)

test1()

image thumbnail

updated almost 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 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)

Contact us