image thumbnail

updated 20 hours ago

Applications of Chaos and Nonlinear Dynamics in Engineering - Vol. 1 by Stephen Lynch

Lynch files to accompany the book. (modeling, simulink, mathematics)

sys=Hopf_System(~,x)

xdot=Chem(~,x)

xdot=Duffing(t,x)

image thumbnail

updated 4 days ago

Zernike Package by Yasushi Iwasaki

This package provides Zernike utilities. (zernike, polynomial, optics)

DisplayFringeOrder0(kMax)

DisplayFringeOrder1(kMax)

DisplayParityOrder0(kMax)

image thumbnail

updated 5 days ago

Easy Sensitivity (Tornado) Plot Function by Richard McCulloch

This function makes a tornado sensitivity plot and returns the sensitivity values. (aerospace, biotech, data export)

TorPlot(data,names,sensitivity,save)

image thumbnail

updated 13 days ago

Calculating Electric field of a dipole using Coulomb's law by Praveen Ranganath

This code computes the Electric Field distribution due to a dipole in a 2-D plane. (electric field, electrostatics, coulombs law)

ElectricFields.m

image thumbnail

updated 21 days ago

Peak finding and measurement by Tom O'Haver

Function to locate and measure the positive peaks and valleys in noisy data sets. (peak detection, analytical chemistry, chemistry)

P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,pea...

P=findpeaksGSS(x,y,SlopeThreshold,AmpThreshold,smoothwidth,...

P=findpeaksL(x,y,SlopeThreshold,AmpThreshold,smoothwidth,pe...

image thumbnail

updated 22 days ago

HybridVel by Pratik Chhatbar

Improved blood velocity measurements with a hybrid image filtering and iterative Radon transform (red blood cells, rbc, radon transform)

hybridvel(inputimg,showimg,saveimg,delx,delt,hi,lineskip,xr...

image thumbnail

updated 1 month ago

Zernike Moments by Amir Tahmasbi

MATLAB Code for the Fast Calculation of Zernike Moments of order n and repetition m on NxN images. (image processing, signal processing, mathematics)

Zernikmoment(p,n,m)

radialpoly(r,n,m)

Zernike_main.m

image thumbnail

updated 1 month ago

iSignal 2.8 by Tom O'Haver

Interactive smoothing, differentiation, peak sharpening and measurement of time-series signals. (signal processing, data import, chemistry)

pY=isignal(DataMatrix,xcenter,xrange,sm,sw,em,dm,rm,s1,s2,s...

image thumbnail

updated 1 month ago

cofficients of fourier series by davood shaghaghi

This function is written to calculate the cofficients of fourier series. (control design, mathematics, image processing)

[]=fs(x,T0,n,type)

image thumbnail

updated 1 month ago

Grid of points within a polygon by Sulimon Sattari

This function generates an array of points that lie within a given polygon (polygon, points, point)

polygrid( xv, yv, ppa)

image thumbnail

updated 1 month ago

Center of Mass by Jered Wells

CENTEROFMASS finds the center of mass of the N-dimensional input array (physics, center of mass)

centerOfMass(A,varargin)

image thumbnail

updated 2 months ago

iPeak: Interactive Peak Detector (Version 5.3) by Tom O'Haver

Keypress operated interactive peak detector function. (analytical chemistry, peak detection, instrumental analysis)

P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,pea...

P=findpeaksnr(x,y,SlopeThreshold,AmpThreshold,smoothwidth,p...

P=findpeaksplot(x,y,SlopeThreshold,AmpThreshold,smoothwidth...

image thumbnail

updated 2 months ago

Calculation of CT MTF and NPS using the ACR accreditation phantom by Saul

This code enables measurements of CT MTF and NPS from images of an ACR accreditation phantom. (computed tomography, ct, modulation transfer f...)

SliceBrowser(varargin)

mtfcalc.m

npscalc.m

image thumbnail

updated 3 months ago

DC Motor open and closed loop analysis by Rakesh Mandal

Used for design analysis of DC Motor (automotive, simulation, control design)

brushless_dc_motor(varargin)

image thumbnail

updated 3 months ago

LVPermute by Ahmed A. Selman

A simple (Line Vector Permutation) function. (permutation, mathematics, physics)

[C,D,j]=lvpermute(varargin)

image thumbnail

updated 3 months ago

Natural Log Binning of data with errors by LPS

Bins raw data in naturally logged bins, and calculates error on each bin. (statistics, natural log, log)

NaturalLogBin(path_name, input_file, ....

image thumbnail

updated 3 months ago

Ideal Gas Simulation by Ligong Han

This function simulates the behavior of ideal gas (including pressure, temperature and momentum). (physics, game, simulation)

IdealGasSimulation

SphereCollider(balls,ball_pos,ball_v,varargin)

fermats_room

image thumbnail

updated 3 months ago

Four parameters logistic regression - There and back again by Giuseppe Cardillo

Fit data points with a four points logistic regression or interpolate data. (statistics, chemistry, pharmaceutical)

L4Pinv(cf,y)

[cf G]=L4P(x,y,varargin)

image thumbnail

updated 3 months ago

Polar Onion Peeling by natan

Apply polar onion peeling method for analyzing velocity map imaging (VMI) data. (onion peeling, physics, chemistry)

s=POP(im,RT)

image thumbnail

updated 3 months ago

International Reference Ionosphere (IRI) Model by Drew Compston

Get the International Reference Ionosphere (IRI) output parameters. (iri, international referen..., geophysics)

[Ne Ne_NmF2 Tn Ti Te Op Hp Hep O2p NOp cluster Np TEC TEC_t...

ecef2geod(x, y, z, tol)

iritest.m

image thumbnail

updated 3 months ago

Sphere Collider by Ligong Han

This is a simple physics engine for simulating sphere collision. (simulation, demo, physics)

SphereCollider(balls,ball_pos,ball_v,varargin)

combination(m,n,r)

image thumbnail

updated 3 months ago

modified cumsum for partial accumulated sums by Stephan Koehler

Determine the accumulated sum of series of non-zero values of vectors, resetting at zero entries (mathematics, physics, matrix)

cumsum_restart0( varargin )

image thumbnail

updated 3 months ago

Dynamical Systems with Applications using MATLAB by Stephen Lynch

Companion Software. (chaos, nonlinear, mathematics)

Program_5c(~)

Programs_17a

Programs_17b

image thumbnail

updated 3 months ago

Buckinghams Pi-Theorem in MATLAB by Thomas Tresch

Calculation of the dimensionless quantities (pi-groups) for given dimensional variables (pitheorem, dimensional analysis, physics)

PI_Groups_Calculation.m

image thumbnail

updated 3 months ago

Interactive Peak Fitter (Version 9.2) by Tom O'Haver

Keyboard operated peak fitting function for time-series signals. (chemistry, curve fitting, peak fitting)

ipf(arg1,arg2,arg3,arg4)

image thumbnail

updated 4 months ago

Rigid Body Project by Ferat Bulatov

The project demonstrates a rotation of a rigid body about a fixed point. Author: Ferat Talat oglu (mathematics, simulation, modeling)

About(varargin)

RBAnimation(varargin)

RBInputData(varargin)

image thumbnail

updated 4 months ago

BER of M-QAM over Rayleigh channel by Sourav Mondal

This program gives simulated results of BER over Rayleigh fading channel. (communications, data import, data export)

QAM_rayleigh(M, EbNodB)

qam_run.m

image thumbnail

updated 4 months ago

Mean square displacement analysis of particles trajectories by Jean-Yves Tinevez

A MATLAB class for the mean square displacement analysis of particle trajectories, with a tutorial. (measurement, simulation, statistics)

msdanalyzer.m

image thumbnail

updated 4 months ago

Physics Problem Anywhere! by Nathan Lorah

This simple problem can be solved on any planet in out universe or in empty space (physics, simulation, mathematics)

InClassWork_2_28_13.m

image thumbnail

updated 4 months ago

Langmuir probe data analysis code by aasim Azooz

four parameters fitting of Langmuir I-V probe data (chemistry, physics, plasma)

[Ne,Ni,Vp,Vf,Te,E,f]=Analyze_Langmuir(V,I,Area,Mass)

f=Dry(a,x)

f=langmuir(a,x);

image thumbnail

updated 4 months ago

Bias removal- and integration tool for continuous wave EPR data by Jan

This function will remove any bias and integrate a CW EPR sweep curve, together with a plot. (interpolation, measurement, integration)

[Y,A]=SubtractIntegrate(x,y,interpolation_points,varargin)

image thumbnail

updated 4 months ago

1-D random number generation with any analytical expression probability density function by Hu

Generate random numbers according to given analytical expression for the PDF (statistics, physics)

rand_generator(myfun,xmin,xmax,number,mode_switch,vargin)

image thumbnail

updated 4 months ago

Peak Fitter by Tom O'Haver

Command-line peak fitter for time-series signals. Version 3.6: February, 2013. (statistics, signal processing, decomposition)

[FitResults,LowestError,BestStart,xi,yi,BootResults]=peakfi...

image thumbnail

updated 4 months ago

Solitary Water Wave by Didier Clamond

Solitary gravity wave solution of the free surface Euler equations (mathematics, simulation, physics)

SolitaryGravityWave(Fr,Z,PF)

image thumbnail

updated 4 months ago

OSCAR by Jerome Degallaix

An optical FFT code to simulate Fabry Perot cavities with arbitrary mirror profiles (fft, optical simulation, chemistry)

HermitePolynomial(n, x)

LGcoefficient(mat, p, l, lambda, w, curv, gridsize)

LaguerrePolynomial(p, l, x)

image thumbnail

updated 5 months ago

MSIS-E-90 by Drew Compston

NRL MSIS-E-90 atmosphere model. (msis, atmosphere, exosphere)

msis(time, ...

msistest.m

image thumbnail

updated 5 months ago

mex wrapper for International Reference Ionosphere (IRI) Model by Alexey Skazik

mex-wrapper for an empirical model IRI (ionosphere, geophysics, international referen...)

iri_test

image thumbnail

updated 5 months ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (control design, physics, communications)

fft_calc(X,fs)

image thumbnail

updated 5 months ago

Detrended Flucatuation Analysis (DFA) of Long-range temporal correlations by Simon-Shlomo Poil

The DFA algorithm is a scaling analysis method used to estimate long-range temporal correlations. (detrended fluctuation..., signal processing, dfa)

nbt_doDFA(Signal, InfoObject, FitInterval, CalcInterval, DF...

nbt_runDFA(Signal, SignalInfo, SaveDir,varinput)

nbt_Biomarker

image thumbnail

updated 5 months ago

Generalized Hurst exponent by Tomaso Aste

Generalized Hurst exponent of a stochastic variable (finance, statistics, signal processing)

[mH,sH]=genhurst(S,q,maxT)

image thumbnail

updated 5 months ago

Weighted generalized Hurst exponent by Tomaso Aste

Computes the generalized Hurst exponent with exponential weights (finance, physics, signal processing)

[mH,sH]=genhurstw(S,q,delta,maxT)

image thumbnail

updated 5 months ago

Balls Collision by Nikesh Bajaj

Two balls with initialized with random velocity moves. It stops only when they collide. (mathematics, physics, collision)

CircCollision

image thumbnail

updated 5 months ago

PlotArray by Patrick

Use this function to help plot multiple data series of different size without using hold! (matlab, data import, gui)

PlotArray( V,M )

image thumbnail

updated 6 months ago

Trapezoidal Integration by Aravazhi Anbarasu

Simple and intuitive numerical integration based on trapezoidal rule. (data import, data export, control design)

int_trapz(X,Ts)

image thumbnail

updated 6 months ago

Two point correlation function of a finite 2D lattice by Ilya Valmianski

Compute the two point correlation function of a finite 2D lattice. (image processing, condensed matter, statistics)

twopointcorr( x,y,dr,blksize,verbose)

image thumbnail

updated 6 months ago

powermod by Dev

Calculates x^p mod N (communications, physics, mathematics)

powermod(x,p,N)

image thumbnail

updated 7 months ago

Air Hockey Arcade by Chi-Hang Kwan

Fast-paced air hockey game with physics based gameplay and two AI difficulty levels. (gui, physics, handles)

AHA_GUI

AHA_gameplay(window,score)

AI(window,pos,vel,posc,tstep)

image thumbnail

updated 7 months ago

PES Fitting by Francois Dion

One dimensional potential energy surface fitting (pes, molecular energy, harmonic)

PES_Fitting(varargin)

image thumbnail

updated 7 months ago

VASPLAB by Max Radin

Functions for integrating data from the Vienna Ab initio Simulation Package (VASP) into MATLAB. (chemistry, physics, vasp)

atomic_radius( Z )

chemsym2number( symbol )

export_df3( filename, chg )

image thumbnail

updated 7 months ago

Medium Model by Mark Selby

Thermodynamic Fluid Properties (thermodynamics, chemistry, fluid properties)

MediumModel

Contact us