Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 23 hours ago

Numerical methods vs analytical methods for Differential equations by Praveen Ranganath

This code compares the analytical solution with the numerical solutions of a simple first order ODE (numerical methods, eulers method, differential equation)

f1(a,b)

Numerical_methods.m

image thumbnail

updated 1 day ago

conversionMatrix2Quaternion by Marco Borges

Function to convert Rotation Matrix to Quaternion (quaternion, euler, rotation)

conversionMatrix2Quaternion(M, varargin)

image thumbnail

updated 4 days ago

Dipole & Rectangular Aperture antenna pattern by Salaheddin Hosseinzadeh

3D Polar plot for various Dipole and Rectangular Aperture antennas. (communications, gui, mathematics)

Dipole_Aperture_Aid(varargin)

image thumbnail

updated 4 days ago

Isotropic Arrayed Antenna Pattern by Salaheddin Hosseinzadeh

Simple Plot for various number of isotropic arrayed antennas, with adjustable phase shift and spacin (communications, gui, mathematics)

Isotropic_Arraye_Antenna(varargin)

image thumbnail

updated 4 days ago

simple PID Controller tunning using ZN - 'S' curve method by Kandhavel A

Function which gives Kp, Ki , Kd, Ti & Td values using 'S' curve method. (open loop tuning method) (pi, pid, zn)

[O]=ZN_PI_PID(s,in,out,t1,t2)

image thumbnail

updated 4 days ago

2D fast marching algorithm by Juan Cardelino

computation of distance maps using fast marching (fast marching, algorithm, eikonal)

T=fast_marching(data_points,siz,plot)

test_fm.m

image thumbnail

updated 7 days ago

unique mean and error of a vector with repetitions by Omri Bahat Treidel

input: vec x with repetitions and F(x). return: mean and error of F(unique(x)) (mathematics, signal processing, statistics)

unique_err_BS(x,Fx,bootFactor)

image thumbnail

updated 7 days ago

Reflect Through a Cylindrical Mirror by Paul Kassebaum

Reflect points p through a cylinder of radius R with respect to a viewpoint v = [v_x, v_y, v_z] (3d printing, physics, art)

reflectThroughCylinder(R, v, p)

image thumbnail

updated 9 days ago

Defining Cartesian Reference Frames based on Point Positions by Paolo de Leva

Defining 3-D Cartesian reference frames based on the positions of at least 3 non-collinear points (mechanical modeling, cartesian coordinate ..., reference frame)

ARF(P, segname, side, varargin)

footBAF(HEEL, MET1, MET5, MET2, side, varargin)

frame.m

image thumbnail

updated 11 days ago

Two Impulse Phasing Analysis by David Eagle

Phasing analysis between two coplanar circular orbits using a two impulse Hohmann transfer. (aerospace, mathematics, simulation)

atan3 (a, b)

eci2orb1 (mu, r, v)

oeprint1(mu, oev)

image thumbnail

updated 11 days ago

The Gravity Perturbed Hohmann Transfer by David Eagle

MATLAB script for solving the Hohmann transfer problem perturbed by non-spherical Earth gravity. (aerospace, mathematics, simulation)

[fid, alt1, alt2, inc1, inc2, raan1, jdutc0, gst0, ...

atan3 (a, b)

brent (f, x1, x2, rtol)

image thumbnail

updated 11 days ago

A MATLAB Script for Optimal Single Impulse De-orbit from Earth Orbits by David Eagle

optimal impulsive maneuver required to de-orbit a spacecraft in a circular or elliptical Earth orbit (aerospace, mathematics, optimization)

atan3 (a, b)

deltav_guess(oev1, alttar, fpatar)

deorbit_shoot(x)

image thumbnail

updated 16 days ago

Circular Orbit Plane Change by David Eagle

MATLAB script for solving the circular orbit plane change problem. (aerospace, mathematics, simulation)

atan3 (a, b)

getoe(ioev)

om_constants

image thumbnail

updated 17 days ago

3D Visualization of SUN, EARTH and Moon by Ashish Meshram (Meet)

3D Visualization of SUN, EARTH and Moon (mathematics, simulation, physics)

SSEM(show)

image thumbnail

updated 18 days ago

Optimal Impulsive Orbital Transfer by David Eagle

MATLAB script for the solution of the one and two impulse orbit transfer between two Earth orbits. (aerospace, mathematics, simulation)

[fid, mu, req, oev1, oev2, phi01, phi02, ...

atan3 (a, b)

brent (f, x1, x2, rtol)

image thumbnail

updated 18 days ago

Sample rate conversion by Kirty Vedula

Convert sample rates at ease using GUI Lite 2.5 (speech processing, signal processing, mathematics)

Callbacks_SRC_GUI25(f,C,start_path)

SRC_GUI25

srconv(x,fsin,fsout)

image thumbnail

updated 18 days ago

Mean Local Time of the Ascending Node by David Eagle

Determines the relationship between mean local time of the ascending node and RAAN. (aerospace, mathematics)

atan3 (a, b)

funarg (t)

gast2 (tjdh, tjdl, k)

image thumbnail

updated 21 days ago

The Hohmann Orbit Transfer by David Eagle

Computes characteristics for coplanar and non-coplanar Hohmann transfers. (aerospace, mathematics, orbit transfer)

atan3 (a, b)

brent (f, x1, x2, rtol)

eci2orb1 (mu, r, v)

image thumbnail

updated 22 days ago

Low-precision Ephemeris by David Eagle

MATLAB functions that compute a low-precision ephemeris for the Sun, Moon and planets. (aerospace, mathematics, astronomy)

atan3 (a, b)

earth (jdate)

gdate (jdate)

image thumbnail

updated 23 days ago

Zoom Strips PLot by Siva

Creates a strips plot for various speech files (speech processing, signal processing, mathematics)

Callbacks_strips_plot_GUI25(f,C,start_path)

EditrunGui

plot_strips(xinn,n,vstart,m,ipl,icolor,filenames,fs,smin,...

image thumbnail

updated 25 days ago

Three masses connected by springs by Jeffrey Chasnov

A simulation and animation of three masses connected by springs. Can use to illustrate normal modes. (oscillation, springs, hookes law)

gui_spring3mass3(varargin)

gui_spring4mass3(varargin)

spring.m

image thumbnail

updated 25 days ago

Elementary 1-D Cellular automata by 2 neigbors (r=2). by ehsan tahami

CA2 Displays evolution of a famous 1-D Cellular Automata by 2 neigbors (r=2). (mathematics, statistics, modeling)

pattern_highrule=CA2(wolfrule, initialstate, nrows)

image thumbnail

updated 25 days ago

method for solving by he chunlei

it can solve non-linera equation group with Newton method (mathematics)

y=newton1(f,x0,tol)

image thumbnail

updated 25 days ago

Composite Simpsons method for numeric integration by Sulaymon Eshkabilov

COMPOSITE SIMPSON's method for numerical calculations and analysis exercises of Numeric Integration. (mathematics, data exploration, demo)

F=COMP_simpsons_rule(f,lowl, upl,nsteps, varargin)

image thumbnail

updated 25 days ago

Normalized Coordinates for Annotations by Abraham Asfaw

This function returns normalized coordinates in plot, semilogx, semilogy and loglog plots. (loglog, semilogx, semilogy)

normalize_coordinate(x_point_, y_point_, axes, xlims_, yl...

image thumbnail

updated 1 month 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,fh)

image thumbnail

updated 1 month ago

quad3 by Marco Borges

Evaluates cubic polynomial numerical integration (numerical integration, mathematics, interpolation)

quad3(X,Y)

image thumbnail

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

Zernike Package by Yasushi Iwasaki

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

DisplayFringeOrder0(kMax)

DisplayFringeOrder1(kMax)

DisplayParityOrder0(kMax)

image thumbnail

updated 1 month ago

Angle calculator from sin and cos values by Disi A

This function uniquely determines the angle (-180,180] in degree or(-pi, pi] in radian (mathematics, measurement, signal processing)

theta=angleCalc(S,C,out_mode)

image thumbnail

updated 1 month ago

Reconstruction of Image from Simple Back Projection by Shrinivas

Reconstruction of Image from projections (image processing, mathematics, matlab)

[size1,upto,increment]=inputsbp()

[z]=choosesbp(upto,increment)

sbp0109.m

image thumbnail

updated 1 month ago

Efficient Multidimensional Scaling (MDS) by Quan Wang

The is the source code of iterated Levenberg-Marquardt algorithm (ILMA) for solving MDS (mathematics, optimization, pattern recognition)

CM=confusion_matrix_reorder(CM)

[X, total_cost]=MDS_training(Dist,d,iter,strategy,display...

[X2]=MDS_encoding(X1,Dist,display_flag)

image thumbnail

updated 1 month ago

Monte Carlo example of the Multi-Factor coupled Commodity Forward curves Simulator by Ahmos Sansom

Implementation of the Multi-Factor multi commodity forward curve simulator (finance, mathematics, optimization)

GetCov(x, y)

LnTestofSims(mySims, LastFC, volFN, Factors)

MultiFactorForwardCurveSimulator(nSims, Seed, historicalF...

image thumbnail

updated 1 month ago

Virtual Calculator by Oren berkovicth

This calculator allows the user to perform calculations in front of the camera. (image processing, gui, mathematics)

[newstr,same]=samenum(same,num)

displayscrean(x,y,newstr)

virtualcalc

image thumbnail

updated 1 month ago

Empirical Wavelet Transforms by Jerome Gilles

This toolbox proposes the original implementation of Empirical Wavelet Transforms (signal processing, image processing, mathematics)

AnglesLocalMax(f,N)

AnglesLocalMaxMin(f,N)

Angular_sector(theta,radius,theta0,theta1,r0,r1,gammaw,Dt...

image thumbnail

updated 1 month ago

Euler’s method by Mohammed Al-Mostafa

find the function then draw it using the derivative Euler’s method (mathematics)

Euler

image thumbnail

updated 1 month ago

Laplacian 2.0 by Bryan C. Smith

(1-3)D sparse Laplacian matrices with eigenvalues and eigenvectors. (laplacian, eigenvalues, eigenvectors)

laplacian2(numpts, varargin)

image thumbnail

updated 1 month ago

Optimal Finite-burn Interplanetary Injection from Earth Orbit by David Eagle

A MATLAB script for optimizing finite-burn interplanetary injection trajectories. (aerospace, mathematics, simulation)

[fid, itarget, nsegments, xmass0, thrmag, xisp, oev_initi...

asympt (cbmu, rsc, vsc)

atan3 (a, b)

image thumbnail

updated 1 month ago

Bessel Polynomial Linearization Coefficients by Robert Dickson

Linearization coefficients for Bessel polynomials, and certain rational polynomial spectra. (mathematics, bessel polynomial, linearization coeffic...)

bpqcc(n,a)

bpqnn(n,a)

bpqpsdg(gi,f)

image thumbnail

updated 1 month ago

RKN1210 - A 12th/10th order Runge-Kutta-Nystrom integrator by Rody Oldenhuis

Integrator for second-order ODE's with very stringent error tolerances. (accuracy, secondorder ode, rungekuttanystrom)

rkn1210(funfcn, tspan, y0, yp0, options)

rkn1210_DEMO

image thumbnail

updated 1 month ago

Chebpack by Damian Trif

The MATLAB package Chebpack solves specific problems for differential or integral equations. (mathematics, differential equation..., integral equations)

A=fact(a,m)

B=Ex4_delay_main

D=deriv(n,dom)

image thumbnail

updated 1 month ago

Closest by Matt

Finds the value in an array X closest to the scalar b. (mathematics)

closest(X,b)

image thumbnail

updated 1 month ago

Sylvester Matrix by Jos (10584)

SYLVESTER - Sylvester matrix of two polynomials (v3.0, june 2013) (this is not working s..., mathematics, polynomial)

sylvester(P,Q ,MpMq)

image thumbnail

updated 1 month ago

Find Network Components by Daniel Larremore

Find network components, sizes, and lists of member nodes. (network, graph theory, component)

networkComponents(A)

image thumbnail

updated 1 month ago

MatTuGames by Holger I. Meinhardt

A game theoretical Matlab toolbox to compute solution schemes and properties from TU-games. (mathematics, game theory, cooperative game theo...)

AntiCorePlot(varargin)

COAL=tug_Coal2Dec(n)

CddAntiCorePlot(varargin)

image thumbnail

updated 1 month ago

Solar Sail Trajectory Analysis with MATLAB by David Eagle

Two-dimensional trajectory analysis of solar sail Earth-to-Venus and Earth-to-Mars missions. (aerospace, mathematics, simulation)

[fid, nsegments, achar, b1, b2, b3, iplanet, time_g, time...

rkf78 (deq, neq, ti, tf, h, tetol, x)

ss2d_eqm_opt (t, y)

image thumbnail

updated 1 month ago

Plot a plane from 3 points by Nitish Tripathi

It plots a plane from 3 points. Its returns all the coeff of plane (a, b, c,d) (image processing, statistics, mathematics)

plot_line(p1, p2, p3)

image thumbnail

updated 2 months 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, physics, mathematics)

Zernikmoment(p,n,m)

radialpoly(r,n,m)

Zernike_main.m

image thumbnail

updated 2 months ago

Discrete Frechet Distance by Zachary Danziger

The discrete Frechet distance is a scalar measure of similarity between two curves. (curves, mathematics, metric)

DiscreteFrechetDist(P,Q,dfcn)

image thumbnail

updated 2 months ago

Continous Fractions Expansion by Mario Coutino

Computes the continous fractions expasion of a pulse transfer function. (control design, mathematics, signal processing)

cont_frac(num,den)

Contact us