image thumbnail

updated almost 3 years ago

Orbital Elements from Position/Velocity Vectors by Dmitry Savransky

Convert positions and velocity state vectors to osculating Keplerian orbital elements. (aerospace, mathematics, physics)

vec2orbElem(rs,vs,mus)

image thumbnail

updated almost 3 years ago

Find Euler Angles by Dmitry Savransky

An interactive demo for learning and visualizing 3D coordinate transformations and Euler angles. (demo, simulation, matrix)

findEulerAngs(varargin)

image thumbnail

updated almost 4 years ago

Vectorized N-Body Equation by Dmitry Savransky

Fully vectorized n-body equations of motion in second and first order form. (mathematics, physics, aerospace)

nbodyVect(x0,dx0,mus,t)

image thumbnail

updated almost 4 years ago

Simple Rejection Sampling by Dmitry Savransky

Return values sampled from a user defined distribution. Samples are not guaranteed IID. (mathematics, statistics)

sampleDist(f,M,N,b,mkplt)

image thumbnail

updated 4 years ago

robotArm by Dmitry Savransky

Simulate and animate a three link robotic arm raising a glass to table height. (simulation, gui, control design)

robotArm(varargin)

image thumbnail

updated almost 5 years ago

Watt Linkage Animation by Dmitry Savransky

Solve the equations of motion for, and animate an arbitrary 3 bar Watt Linkage. (demo, simulation, modeling)

wattLinkage(n,npathpoints,lengths,omega)

image thumbnail

updated almost 5 years ago

animEuler by Dmitry Savransky

Animate sets of Euler rotations using arbitrary Euler angles and rotation order. (aerospace, demo, animation)

animEuler(h,rotSet,angs)

make3daxes(h)

rot3daxes(h,as,l,ang,axSym,killLines)

image thumbnail

updated 5 years ago

Conversion between Equatorial and Ecliptic Coordinates by Dmitry Savransky

Convert between the equatorial and ecliptic celestial coordinate systems. (aerospace, mathematics, astronomy)

eclip2equat(lambda,beta)

equat2eclip(alpha,delta)

image thumbnail

updated 5 years ago

Keplerian State Transition Matrix by Dmitry Savransky

Given initial positions and velocities, calculate the keplerian state transition matrix for an orbit (aerospace, aeronautics, aerodef)

keplerSTM(x0,dt,mu)

image thumbnail

updated almost 6 years ago

UDFactor by Dmitry Savransky

Performs the U-D factorization of a symmetric matrix. (linear algebra, ud factorization, ud filter)

UDFactor(P,uflag)

image thumbnail

updated almost 6 years ago

randspace by Dmitry Savransky

Generates a monotonically increasing sequence of randomly spaced values. (random sequences, monotonic, increase)

randspace(p1, n, p2, step_range, seed)

image thumbnail

updated almost 6 years ago

Pendulum on Circular Track by Dmitry Savransky

Integrate the equations of motion for a pendulum travelling on a circular track and animate the resu (differential equation..., pendulum, integration)

circpendulum(t0,y0,w,r,l);

image thumbnail

updated almost 6 years ago

Lomb (Lomb-Scargle) Periodogram by Dmitry Savransky

Computes the Lomb normalized periodogram (spectral power as a function of frequency). (time frequency, wavelets, lomb lomb)

lomb(t,h,ofac,hifac)

Contact us