image thumbnail

updated 3 months ago

Vectorized Multi-Dimensional Matrix Multiplication by Darin Koblick

Take Any N-D Matrix and Multiply it by another N-D Matrix Without a For-Loop (matrix, matricies, multiplication)

eDim(fND,fSeq)

fDim(ND,dim)

mntimes(x,y,xrowdim,xcoldim,yrowdim,ycoldim)

image thumbnail

updated 5 months ago

Parallel Implementation of the Picard Iteration For Linear BVP PDEs by Darin Koblick

Parallel Picard Iteration for a Linear Hyperbolic BVP PDE (pde, hypberbolicsecond ord..., hyperbolic pde)

parPicardPDESolver(N)

seqPicardPDESolver(N)

image thumbnail

updated 5 months ago

Efficient Vector Rotation Matrix Routine by Darin Koblick

Efficient Method to Determine a Matrix Needed to Rotate One Vector to Another (vector, rotation, euler)

vecRotMat(f,t)

vecRotMatDemo()

image thumbnail

updated 10 months ago

Convert Keplerian Orbital Elements to a State Vector by Darin Koblick

Convert orbital elements to a state vector, or a state vector back to orbital elements. (keplerian, orbital elements, aerospace)

orb2rv(p,e,i,O,o,nu,truLon,argLat,lonPer,mu)

rv2orb(r,v,mu)

test_orb2rv.m

image thumbnail

updated 1 year ago

Vectorized Solar Azimuth and Elevation Estimation by Darin Koblick

Predict the topocentric solar position defined by geodetic lat, lon, Alt, and a universal time (aerospace, alt, altitude)

SolarAzEl(UTC,Lat,Lon,Alt)

test_SolarAzEl()

image thumbnail

updated 1 year ago

2000 ASTM Standard Extraterrestrial Spectrum Reference E-490-00 by Darin Koblick

Vectorized MATLAB code which will compute the solar flux given a wave length. (solar flux, astm, solar spectrum)

ASTM_E490_2000(MeanWaveLength,waveBand,useBlackbodyApprox)

image thumbnail

updated almost 2 years ago

Vectorized Clohessy-Wiltshire Hill Linear Propagation by Darin Koblick

A Demonstration of Linear Satellite Orbit Propagation Using Clohessy-Wiltshire Equations of Motion. (linear propagation, chw, clohessy)

CWHPropagator(rHillInit,vHillInit,omega,t)

ECI2Hill_Vectorized(rTgt,vTgt,rChase,vChase)

ECI2RSW(rECI,vECI)

image thumbnail

updated 2 years ago

Flatten Any Mulitdimensional Matrix into a 2-D Matrix! by Darin Koblick

Convert any multidimensional matrix into a 2-D Matrix. Then convert it back to its original form. (matrix, 2d, flattening)

eDim(fND,fSeq)

fDim(ND,dim)

multiDimDemo()

image thumbnail

updated 2 years ago

Vectorized Picard-Chebyshev Method by Darin Koblick

Vectorized Picard-Chebyshev Method used for the analysis of the 2012 ASME Conference paper 87878 (orbit propagation, kepler, picard chebyshev)

PicardChebyshevDemo()

VMPCM(ode,tau,x_guess,omega1,omega2,errTol,varargin)

keplerUniversal(r0,v0,t,mu)

image thumbnail

updated 2 years ago

Convert Julian Date to Greenwich Apparent Sidereal Time by Darin Koblick

Find the Greenwich Apparent Sidereal Time Given any Julian Date (gmst, gast, greenwich)

JD2GAST(JD)

JD2GMST(JD)

image thumbnail

updated 2 years ago

State Vector Warping Routine by Darin Koblick

Calculate new ECI vectors corresponding to a desired time while fixing their relative earth position (eci, time, warp)

ECEFtoECI(JD,r_ECEF,v_ECEF,a_ECEF)

ECItoECEF(JD,r_ECI,v_ECI,a_ECI)

FixedECI(JD,r_ECI,v_ECI,a_ECI)

image thumbnail

updated 2 years ago

Convert ECI to ECEF Coordinates by Darin Koblick

Transform ECI position, velocity and acceleration to ECEF position, velocity & acceleration. (eci, cis, epoch j20000)

ECItoECEF(JD,r_ECI,v_ECI,a_ECI)

JD2GAST(JD)

JD2GMST(JD)

image thumbnail

updated 2 years ago

Gauss-Jackson Eighth-Order ODE Solver (Fixed Step Size) by Darin Koblick

Gauss-Jackson Eight-Order MultiStep Predictor-Corrector using ODE113 in its startup procedure. (gauss jackson, ode, propagator)

GJ8(FirstOrderODE,SecondOrderODE,tspan,h,y0,dy0,ddy0,opti...

GJ8_Demo()

keplerUniversal(r0,v0,t,mu)

image thumbnail

updated 2 years ago

Vectorized Analytic Two Body Propagator (Kepler Universal Variables) by Darin Koblick

Analytic propagation routine uses universal variables to solve a single formula for all orbit types (kepler, keplerian, universal variable)

KeplerUniversalVsSTK()

keplerUniversal(r0,v0,t,mu)

image thumbnail

updated 2 years ago

Convert ECEF to ECI Coordinates by Darin Koblick

Take any vector or series of vectors in the ECEF Coordinate frame and convert them to ECI. (eci, ecef, wgs 84)

ECEFtoECI(JD,r_ECEF,v_ECEF,a_ECEF)

JD2GAST(JD)

JD2GMST(JD)

image thumbnail

updated 3 years ago

Convert UTC to Solar Apparent Time by Darin Koblick

Convert a time given in UTC to Solar Apparent or Solar Mean Time (solar mean time, solar apparent time, utc)

EquationOfTime(UTCjd)

UTC2SolarApparentTime(UTC,Lon)

image thumbnail

updated 3 years ago

Equation of Time by Darin Koblick

Compute the equation of time with accuracy on the order of seconds. (equation of time, astronomy, solar)

EquationOfTime(UTCjd)

image thumbnail

updated 3 years ago

Bulirsch-Stoer Propagator/Integrator by Darin Koblick

Implementation of the Bulirsch-Stoer algorithm for purposes of numerical orbit propagation. (bulirschstoer, propagation, ode)

image thumbnail

updated 4 years ago

Lunar Azimuth and Altitude Estimation Algorithm by Darin Koblick

Predict the Lunar Azimuth and Altitude within +/- .2 deg of any lat and lon for a given UTC (aerospace, astronomy, moon)

LunarAzEl(UTC,Lat,Lon,Alt)

image thumbnail

updated 4 years ago

Julian Date to Greenwich Mean Sidereal Time by Darin Koblick

Convert a given Julian Date to Greenwich Mean Sidereal Time (GMST) in degrees. (gmst, gmt, jd)

JD2GMST(JD)

image thumbnail

updated 4 years ago

Convert Right Ascension and Declination to Azimuth and Elevation by Darin Koblick

Algorithm will convert topocentric RA/DEC Angles to Azimuth and Elevation (az, azimuth, dec)

RaDec2AzEl(Ra,Dec,lat,lon,time)

image thumbnail

updated 4 years ago

Convert Azimuth and Elevation to Right Ascension and Declination by Darin Koblick

Algorithm will convert Az/El angles to RA /DEC using a topocentric coordinate frame (raan, ra, dec)

AzEl2RaDec(Az,El,lat,lon,time)

image thumbnail

updated 5 years ago

196 Algorithm + GUI Beta Version by Darin Koblick

Highly optimized c code and Matlab GUI to find any palindrome using the 196-algorithm (optimization, palindrome, palindromic)

palindrome(varargin)

Contact us