image thumbnail

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

Fourier Decomposition Demo by Job

Visualizes how an image can be decomposed (and reconstructed) in 2D sinusoidal waves. (fourier transform, image reconstruction, mri)

FourierImageDecomposition.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

Electric Field of a Parallel Plate capacitor using 2D Poisson Equation by Praveen Ranganath

Electric potential and E-field of a cross section of a parallel plate capacitor is calculated. (aerospace, mathematics, measurement)

Parallel_plate_2D.m

image thumbnail

updated 11 days ago

Computing Electric field of a double dipole by solving Poisson's Equation by Praveen Ranganath

This code computes the E-fields due to 2-dipoles in a 2-D plane using Finite difference method. (aerospace, cartesian coordinates, dipole)

Poisson2d_dipole.m

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

Time scaling for discrete signals by Nikhil Prathapani

To perform Time scaling on discrete time signals (signal processing, simulation, mathematics)

timescald.m

image thumbnail

updated 14 days ago

Time scaing for continuous signals by Nikhil Prathapani

To perform Time scaing on continuous time signals (communications, signal processing, mathematics)

timescalc.m

image thumbnail

updated 14 days ago

Gaussian forward Interpolation formula by Aman Gaur

This MATLAB code computes the desired data point within a given range. (mathematics)

gaussian_forward_interpolation.m

image thumbnail

updated 15 days ago

Time folding for sequences by Nikhil Prathapani

Performing Time folding operation on sequences (communications, signal processing, simulation)

timefoldd.m

image thumbnail

updated 15 days ago

Time folding for continuous signals by Nikhil Prathapani

Performing Time folding operation on continuous signals (communications, mathematics, simulation)

timefoldc.m

image thumbnail

updated 15 days ago

Addition and Multiplication of Discrete time signals by Nikhil Prathapani

Performing Addition and Multiplication of Discrete time signals (communications, mathematics, signal processing)

addmuld.m

image thumbnail

updated 15 days ago

Addition and Multiplication of Continuous time signals by Nikhil Prathapani

Performing addition and multiplication of continuous time signals (communications, mathematics, signal processing)

addmulc.m

image thumbnail

updated 15 days ago

Continuous Sinc and Discrete Sinc by Nikhil Prathapani

Generation of Sinc signal in continuous and discrete time. (communications, signal processing, mathematics)

sinc1.m

image thumbnail

updated 15 days ago

Continuous Triangular wave and Discrete Triangular wave by Nikhil Prathapani

Generation of continuous and discrete triangular wave (communications, signal processing, simulation)

tr.m

image thumbnail

updated 15 days ago

Continuous gate and Discrete gate by Nikhil Prathapani

Generation of Gate(Rectangular) wave in continuous and discrete time. (communications, control design, mathematics)

rect.m

image thumbnail

updated 15 days ago

Continuous sawtooth and Discrete sawtooth by Nikhil Prathapani

Generation of sawtooth wave in continuous and discrete time. (communications, mathematics, signal processing)

saw1.m

image thumbnail

updated 15 days ago

Continuous Cosine and Discrete Cosine by Nikhil Prathapani

Generation of Cosine signal in continuous and discrete time. (communications, mathematics, signal processing)

cosee.m

image thumbnail

updated 15 days ago

Continuous square and Discrete square by Nikhil Prathapani

Generation of Square wave in continuous and discrete time. (communications, control design, signal processing)

sqrr.m

image thumbnail

updated 15 days ago

Continuous sine and Discrete SIne by Nikhil Prathapani

Generation of Sine signal in continuous and discrete time. (communications, mathematics, signal processing)

sinee.m

image thumbnail

updated 15 days ago

Continuous ramp and Discrete ramp by Nikhil Prathapani

Generation of Ramp signal in continuous and discrete time. (control design, communications, simulation)

rampp.m

image thumbnail

updated 15 days ago

Continuous Unit Step and Discrete Unit Step by Nikhil Prathapani

Generation of Unit Step signal in continuous and discrete time. (communications, signal processing, simulation)

uss.m

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

Finite Difference Method to solve Heat Diffusion Equation in Two Dimensions. by Sathyanarayan Rao

Heat diffusion equation of the form Ut=a(Uxx+Uyy) is solved numerically. All units are arbitrary. (aerospace, automotive, diffusion)

heat_2d.m

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

PSO for Global optimization Problems by ak

Particle Swarm Optimization program for Rosenbrock function (pso, rosenbrock function, global optimization p...)

Rosenbrockfunc.m

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

Comparison analysis of numerical intergration methods by Sulaymon Eshkabilov

Comparison analysis of numerical integration methods, viz.trapezoid, Simpsons Rule, mid-point, etc. (mathematics, data exploration, demo)

NUM_quadrature_compare.m

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

Continuous Unit Impulse and Discrete Unit Impulse by Nikhil Prathapani

Generation of Unit Impulse signal in continuous and discrete time. (signal processing, simulation, mathematics)

uii.m

Contact us