image thumbnail

updated 3 days ago

MKXLSFUNC: Easily integrate legacy spreadsheet tools into MATLAB by Sky Sartorius

Creates an m-file function that does analysis within your specified Excel-based analysis tool. (xls, xlsread, xlswrite)

MKXLSFUNC Example:

image thumbnail

updated 9 days ago

Fuel fraction sizing by Sky Sartorius

Finds aircraft gross weight using the fuel fraction sizing method (aircraft, weight, design)

[FF, fracs]=missionfuelburn(varargin)

breguet(type, task, E_R_or_frac, LD, SFC, V, eta_p)

fuelfractionsizing(EWfunc,fixedW,FF,tol,maxW)

image thumbnail

updated 11 days ago

Simple turbine engine performance estimation by Sky Sartorius

A set of tools for simply estimating turboprop, turbofan, and turboshaft aircraft engine performance (power, thrust, propulsion)

...

actuatordisc(task,TorP,rho,A,V,loss)

altitudeefficiency(h,M,throttle,assumptions)

image thumbnail

updated 11 days ago

CORE: Conceptual Optimization of Rotorcraft Environment by Sky Sartorius

Facilitates optimization and design space exploration in the conceptual design phase of rotorcraft. (helicopter, aerospace, rotorcraft)

...

...

...

image thumbnail

updated 1 month ago

SEARCH: Web search from the command line by Sky Sartorius

Add this small utility to your MATLAB path to allow quick web searches from the command line. (search, web, browser)

luckysearch(varargin)

search(varargin)

image thumbnail

updated 1 month ago

Dimensioned Variable Class for MATLAB by Sky Sartorius

A set of tools allowing the use of real-world units in Matlab. (units, dimensioned, aerospace)

units

DimensionedVariable(dimensionNames,dimensionToCreate)

image thumbnail

updated 2 months ago

MATLAB Style Guide Wiki access and search function by Sky Sartorius

Tips for writing clear code. Search the MATLAB Programming Style Guide Wiki from the command line. (style, format, comment)

styleguide(varargin)

image thumbnail

updated 5 months ago

STDATMO: Standard Atmosphere Function by Sky Sartorius

Gas properties at altitudes from N-dim input. Non-standard atmospheres capable. Many units supported (standard atmosphere t..., isa, international standar...)

stdatmo.m

image thumbnail

updated 5 months ago

Oswald efficiency estimation function by Sky Sartorius

Finds Oswald efficiency factor for purposes of approximating a simple parabolic aircraft drag polar (aerospace, aeronautics, aircraft)

oswaldfactor(AR,sweep,method,CD0,df_over_b,u)

image thumbnail

updated 5 months ago

Vectorized Bisection Search by Sky Sartorius

Find x such that f(x) = target. Vectorization allows for some key advantages over FZERO. (bisection, search, root)

bisection(f,lb,ub,target,options)

image thumbnail

updated 5 months ago

Density altitude calculator by Sky Sartorius

Finds altitudes in the standard atmosphere that correspond to the provided array of air densities. (aerospace, atmosphere, standard atmosphere)

densityalt(rho,Units)

image thumbnail

updated 6 months ago

LERP: fast n-dimensional linear interpolation & extrapolation by Sky Sartorius

Interpolate from X and Y data and n-dim array. Can also extrapolate above/below X if desired. (interp, interp1, interp1q)

lerp(x,y,xi,extrapspan)

image thumbnail

updated 2 years ago

Text Menu Prompt by Sky Sartorius

Generate a list menu in the command window with default option and prompt user for a selection. (menu, ui, list)

txtmenu(HeaderPrompt,varargin)

image thumbnail

updated 2 years ago

sinspace by Sky Sartorius

Generates a sine-spaced vector with elements clustered at one of the two endpoints (clustered, clustering, sine)

sinspace(d1, d2, n, factor)

image thumbnail

updated 2 years ago

cosspace by Sky Sartorius

Generates cosine- or acos-spaced vector with elements clustered or sparse at the endpoints (cosine, spacing, spaced)

cosspace(d1, d2, n, factor)

image thumbnail

updated 2 years ago

LINSPACE3: linearly spaced vector defined by three points by Sky Sartorius

Generate a vector as linearly spaced as possible while still including three defined points. (distributed, linspace, logspace)

linspace3(d1, tar, d2, n)

image thumbnail

updated almost 3 years ago

Time & Rate Unit Conversion Function by Sky Sartorius

Converts time and/or rate units using same syntax as aerospace toolbox conversion functions. (unit conversion, aerospace, unit)

convtime( in, uin, uout )

image thumbnail

updated almost 3 years ago

Automatic Twister Caller by Sky Sartorius

When you want to play the Hasbro game "Twister" but you don't have an extra person to be the caller. (twister, hasbro, twister game)

dice (n)

twister.m

image thumbnail

updated almost 4 years ago

addcopyright by Mirko Hrovat

add copyright information to an m-file or group of m-files. (copyright permission ..., pick of the week, potw)

addcopyright(target,update,year_or_string,organization,prom...

Contact us