This toolbox contains 12 very simple functions that will convert between 4 very popular units of measure of temperature. The supported units are as follows:
1. Fahrenheit 2. Celsius 3. Rankine 4. Kelvin
These functions are called much like their distance-converting counterparts (i.e. nm2km, nm2sm, etc).
The convention for naming these functions are as follow:
...
LINEINMASK determines portions of the line in and out of a mask
[inX inY] = LINEINMASK(XS,YS,BW,XV,YV) computes a the segments of the line specified by verticies XV and YV that are inside the mask BW. Points XS and YS...
DRAWEARTHSHADED Draws a shaded map of the Earth
DRAWEARTHSHADED Draw a map of the earth, with a realistic set of colors. This can be used as a background for any map plot you wish. It is important to note that the...
This function will take in an arbitrarily sized array of angles (in either degrees or radians) and determine if they fall between user specified bounds.
For example:
[X,Y] = meshgrid(linspace(-100,100,1e3)); thetas =...
ELEV = GETELEVATIONANGLE(GR,H1,H2,REFFECTIVE) Determines the elevation angle of a target based on ground range (GR), altitude of the observer (H1) and the altitude of the target (H2), and the effective radius of the Earth...
This toolbox contains 20 very simple functions that will convert between 5 very popular units of measure of velocity. The supported units are as follows:
1. Miles per hour (statute mile) 2. Meters per second 3. Kilometers...
MAKESCALE creates a scale for map data.
MAKESCALE creates a scale on the current axis based on the current axis limits. The scale is made to occupy 1/5th of the map. It is placed in the southeast corner of the map. The...
This function will create a matrix of linearly spaced vectors.
Example 1: Vector starting and ending points x1 = 100*randn(10,1); x2 = 100*randn(10,1); M = linspace2(x1,x2,1e3); imagesc(M)
Example 2:...
PlotAS Linear plot of an arrays of structures This function is used to plot arrays of structures, like those recieved from shaperead. It will autorecognize some common coordinate field names. The user may also specify their own....
LAT_LON_PROPORTIONS Scales a plot in latitude & longitude axis to meters. It will compress the x axis by cos(latitude) in order to reflect the relationship between a degree latitude and a degree longitude at the center of the... |