image thumbnail

updated 6 days ago

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

Keypress operated interactive peak detector function. (peak detection, analytical chemistry, 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 7 days 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 9 days ago

Grid of points within a polygon by Sulimon

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

polygrid( xv, yv, ppa)

image thumbnail

updated 14 days ago

DC Motor open and closed loop analysis by Rakesh Mandal

Used for design analysis of DC Motor (gui, simulation, physics)

brushless_dc_motor(varargin)

image thumbnail

updated 16 days ago

LVPermute by Ahmed A. Selman

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

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

image thumbnail

updated 18 days 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 23 days 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 29 days 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 1 month 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 1 month 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 1 month 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 1 month ago

iSignal 2.7 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

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

Dynamical Systems with Applications using MATLAB by Stephen Lynch

Companion Software. (chaos, nonlinear, mathematics)

Program_5c(~)

Programs_17a

Programs_17b

image thumbnail

updated 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 2 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 2 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 2 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 2 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 2 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 3 months ago

MSIS-E-90 by Drew Compston

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

msis(time, ...

msistest.m

image thumbnail

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

Generalized Hurst exponent by Tomaso Aste

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

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

image thumbnail

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

Zernike Moments by Amir Tahmasbi

MATLAB Code for 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 3 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 4 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 4 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 4 months ago

powermod by Dev

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

powermod(x,p,N)

image thumbnail

updated 4 months 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)

AmpTSlider(n,h)

BGSlider(n,h)

FitSlider(n,h)

image thumbnail

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

PES Fitting by Francois Dion

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

PES_Fitting(varargin)

image thumbnail

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

Medium Model by Mark Selby

Thermodynamic Fluid Properties (thermodynamics, chemistry, fluid properties)

MediumModel

image thumbnail

updated 5 months ago

Matlab Space Invaders VideoGame by Héctor Corte

A tribute to Space Invaders coded in Matlab. Just take fun and get ideas for more games. (aerospace, gui, control design)

enemy

lasser

player

image thumbnail

updated 5 months ago

Smart Manufacturing Robotics Cyber Physical System by Pieter Mosterman

Distributed Towers of Hanoi where three blocks with local control emerge in a sorted order. (towers of hanoi, cyberphysical system, manufacturing)

(Enumeration) NozzleOps

slider_feedback_control_v5.m

start_here.m

image thumbnail

updated 5 months ago

Helical Swimming Simulator by Bruce

Simulates a rigid rotating helix at low Reynolds number. (simulation, physics, biotech)

BuildMatrixRegStokes3D(x,X0,N,N0,d)

ExpFlagellumFullTubeMatrix(Sep,Fila_Radius,Radius,Length,La...

F_T_D_RSM(R, a, lambda, L)

image thumbnail

updated 6 months ago

Scattering from hexagonal PEC cylinder of infinite length by Saira Bashir

This code calculates scattered field from a an infinite length hexagonal PEC cylinder (scttering from hexago..., physics)

Sairanemtassignment.m

image thumbnail

updated 6 months ago

genfit by Andri M. Gretarsson

This is a data fitting program tailored for use in physics or other physical sciences. (data fitting, measurement, data exploration)

fitresult=genfit(X,Y,fhandle,params,varargin)

image thumbnail

updated 6 months ago

solving Diofantine equation by davood shaghaghi

This function is written to solve Diofantine equation.this equation should be in the form of C = A*F (control design, optimization, simulation)

david_dioph(A,C,n)

image thumbnail

updated 6 months ago

International Geomagnetic Reference Field (IGRF) Model by Drew Compston

Compute the Earth's magnetic field at points in space according to the IGRF model. (earths magnetic field, igrf, international geomagn...)

ecef2geod(x, y, z, tol)

geod2ecef(latitude, longitude, altitude)

getigrfcoefs(datadirectory)

Contact us