Common Functions

Common Module

Directory List

Atmosphere Classes CommonData
Control ControlGUI Database
DemoFuns Demos/Control Demos/ControlGUI
Demos/Database Demos/General Demos/GeneralEstimation
Demos/Graphics Demos/Help Demos/MassProperties
Demos/Plugins Demos/UKF Estimation
FileUtils General Graphics
Interface MassProperties Materials
Plugins Quaternion Time
Transform


Atmosphere

Simplified atmosphere model.
Computes atmospheric density based on the standard atmosphere model.

Back To Top

Classes

Computes the transpose of a quaternion.
Gets the scalar and vector equivalent of a quat.
Returns a transformation matrix.
Multiplies an object of type quat times a quaternion or a vector.
Create an object of class quat. You can input:
Returns the scalar part of a quaternion.
Returns the vector part of a quaternion.
Append two state space system
Close the loop on a statespace control system.
Connection of two state space systems. The connection is
Get the eigenvalues of a statespace system.
Get an element of the class statespace
Get the state space matrices
Get the state space matrices
Determine if x is an empty statespace system.
Series connection of two state space systems. The connection is
Parallel connection of two state space systems.
Connection of two state space systems. The connection is
Set an element of the class statespace
Create a state space object. Everything after c is optional.
Computes the transpose of a matrix.
Gets the matrix equivalent of a transmat.
Multiplies an object of type quaternion times a quaternion or a vector.
Converts an input of type transmat to type quat.
Create an object of class transMat. You can input:

Back To Top

CommonData

AtmData.txt - Data for the standard atmosphere
Constants.mat - Standard constants.
DoubleIntegrator.mat - Statespace model of a double integrator
EarthMapData.mat - Data for generating Earth maps
PSSLogo.tif - PSS Logo
Purr.mat - purr sound file
SampleSimOutput.txt - Default simulation output for use with QuickPlot.
Sosumi.mat - Sosumi sound file
a.mat - Sample data for merging databases.
b.mat - Sample data for merging databases.
glass.mat - glass sound file
sphere.obj - OBJ file of a sphere for testing.

Back To Top

Control

Generic a sensor or actuator model.
Gains for poles using Ackermann's formula.
Computes the fundamental alias of a frequency.
Appends two state space systems.
Compute the balanced realization of a, b, c, d.
Computes a balanced realization of g.
Computes the phase using the Bode gain phase rule.
Create a discrete time system using a first order hold.
Create a discrete time system assuming a pulse at the input.
Create a discrete time system using a zero order hold.
Create a discrete time system using a zero order hold and delay.
Create a discrete time systems using the delta operator.
Create a continuous Butterworth Filter.
Generate CCV (control configured vehicle) aircraft model.
Compute the controllability gramian for a continuous time system.
Generates different control inputs.
Computes the closed loop poles.
Creates a closed loop system.
Create a discrete time compensator from a continuous time compensator.
Convert continuous noise process to a discrete noise process.
Create a SISO compensator using a variety of compensator elements.
Compute a balanced realization for discrete time systems.
Generates a Bode plot for a discrete time system.
Computes the DC gain of a discrete time state space system.
Compute the controllability gramian for a discrete time system.
Compute the observability gramian for a discrete time system.
Create an optimal estimator.
Create a quadratic regulator.
Solves the discrete matrix Riccati equation.
Create a model of a delay using Pade approximants for exp(-sT).
Implement a digital filter.
Display a statespace system using vertical bar charts.
Apply eigenvector and eigenvalue assignment.
Apply eigenvector assignment using the Draper method.
Use eigenvector assignment to design a controller.
Use eigevector assignment to design an estimator.
Create the design matrix for the eigenstructure assignment technique.
Evaluate the eigenvalues and eigenvectors graphically.
Plot the energy in a signal.
Compute the frequency response of the system given a, b, c and d.
Compute the frequency response given the statespace class as input.
Plot the frequency response of the system in Bode or Nichols form.
Find peaks of the inputs by looking at slopes.
Compute the frequency response given a numerator/denominator pair.
Computes gain and phase margins from magnitude and phase.
Compute the multivariable frequency response of the system.
Creates a second order transfer function.
Generate a response to an initial condition vector.
Creates a general integrator.
Computes the inverse system.
Linear quadratic regulator with an output feedback cost function.
Output feedback design with a reference input.
Output feedback design with a reference input.
Mechanizes a Kalman Filter fixed interval smoother.
Compute the Kronecker product.
Compute the Kronecker sum.
Perform low frequency prebalancing of a system.
Design a quadratic controller.
Create a lead or lag.
Limits a matrix.
Mean squared response of a system.
Compute the magnitude frequency response of a system.s
Creates state-space model from numerator and denominator polynomials.
Implements a nonlinear fixed gain filter.
Computes the variance for various types of roundoff.
Creates a second order transfer function.
Computes a numerical transfer function from the impulse response.
Generate a Nyquist plot from a statespace object or gain/phase data.
Compute the observability gramian for a continuous time system.
Design a PD controller.
Compute the principal gains for a system.
Design a PID controller.
Produces a state space n degree of freedom PID controller.
Compute proper and non-proper transfer functions for a PID.
Creates a PID controller with lag compensation.
Design a PI controller.
Design a leaky PI controller.
Create a model of a pulsewidth modulator using Pad� approximants.
Parallel connects two state space models.
Implements a phase plane controller.
Print eigenvalues to the command window.
Propagate a state space model.
Create an estimator from a state space system.
Creates a regulator from a state space system.
Quantizes a matrix using user defined rounding.
Solves the matrix Riccati equation.
Generate the root locus for s SISO system.
Sort columns of roots for Root Locus.
Computes the Routhian array for a polynomial.
Eigenvalues to damping and natural frequency.
Transform an s-plane transfer function into the z-plane.
Solves the matrix Riccati equation
Converts from state space to numerator denominator form.
Creates an empty state space system.
Computes state space matrices from a nonlinear function.
Computes the maximum and minimum singular values.
Extract selected states from a state space model.
Series connects two state space models.
Generates a shaping filter with notches and first order roll off.
Checks the dimensions of the set a, b for consistency.
Checks the dimensions of the set a,b,c,d for consistency.
Checks the dimensions of the set a, c for consistency.
Propagates state equations.
Determine the steady state control for a state space system.
Generate a step response of a state space system.
Compute the time response of a state-space system.
Generates torque transmission plots.
Computes the transmission zeros of a plant
Frequency vector with complex poles and zeros.
Creates a frequency vector with points around resonances.
Implements anti windup compensation.
Z domain to s domain damping and natural frequency.
Transform an z-plane transfer function into the s-plane.
Generates the frequency response for a digital filter.
Create a model of a zero-order-hold using Pad� approximants.
Add an outer loop for a controller.
Assemble a block given the data structure
Assemble a plant given a model described by gIn.
Create a BlockDiagram GUI plug in.
Design control systems using a GUI.
Create dual lists.
Create an Eigenstructure GUI plug in.
Produce an empty data structure used by the control functions
Produce an empty data structure used by the control functions
Create an LQ plug in for the ControlDesignGUI.
Create an MapIO plug in for the ControlDesignGUI.
Create a ModalReduction plug in for the ControlDesignGUI.
Transform the system a,b,c,d into modal form
Create an Model GUI plug in.
Retain modes k of the system a,b,c,d.
Retain states k of the system a,b,c,d
Create a model order reduction GUI plug in.
Create a list of SISO elements for use by control design tools.
Create an SISO GUI plug in.

Back To Top

ControlGUI

Add an outer loop for a controller.
Assemble a block given the data structure
Assemble a plant given a model described by gIn.
Create a BlockDiagram GUI plug in.
Design control systems using a GUI.
Create dual lists.
Create an Eigenstructure GUI plug in.
Produce an empty data structure used by the control functions
Produce an empty data structure used by the control functions
Create an LQ plug in for the ControlDesignGUI.
Create an MapIO plug in for the ControlDesignGUI.
Create a ModalReduction plug in for the ControlDesignGUI.
Transform the system a,b,c,d into modal form
Create an Model GUI plug in.
Retain modes k of the system a,b,c,d.
Retain states k of the system a,b,c,d
Create a model order reduction GUI plug in.
Create a list of SISO elements for use by control design tools.
Create an SISO GUI plug in.

Back To Top

Database

Build the constant database. You can add to this function to build
Outputs the value of a constant or opens a GUI for searching.
GUI to output the value of a constant. q must be an exact match.
Merges b into a using a GUI. The new file is saved as "NewDB.mat".

Back To Top

DemoFuns

Right hand side for a double integrator.
Nonlinear estimator spring model. Used by CDKFDemo.
A linear measurement.
Angle measurement from a fixed height object.
Nonlinear estimator measurement spring model
Right hand side for a spring.
Models a double integrator.
Models a double integrator and a bias.
Models a double integrator and a bias.
Right-hand-side for a rigid body.
Right-hand-side for a cubic spring.

Back To Top

Demos/Control

Demonstrate eigenvector assignment using a CCV Model.
Put a series of compensators on a double integrator.
Demonstrate full state feedback.
Test a match filter's ability to find a pulse.
Demonstrate model matching control using a single integrator plant.
Compare the closed-loop response of a linear system
Shows the difference between a PWM and a ZOH.
Design and demonstrate a controller using QCR
Simple controller.
Demonstrates how to implement a digital filter.
Designs noise filters and simulates them to show how they attenuate white noise.
PID Controller for a double integrator.
Demonstrates the effect of integrator windup and how to fix it.
Demonstrate fixed interval smoothing using a Kalman Filter
Inner/Outer control loop test.

Back To Top

Demos/ControlGUI

Inner/Outer control loop test.

Back To Top

Demos/Database

Demonstrate the Constant database.

Back To Top

Demos/General

Demonstrate UIElement and other controls.
Demonstrate the continuous discrete iterated Kalman Filter.
IMM test using a Continuous Wiener process acceleration (CWPA) model.
Frequency response for a Kalman filter with an oscillator as the model.
Demonstrate the Kalman Filter using UD factorization.
Simulate a UKF and EKF with a nonlinear spring example.

Back To Top

Demos/GeneralEstimation

Demonstrate the continuous discrete iterated Kalman Filter.
IMM test using a Continuous Wiener process acceleration (CWPA) model.
Frequency response for a Kalman filter with an oscillator as the model.
Demonstrate the Kalman Filter using UD factorization.
Simulate a UKF and EKF with a nonlinear spring example.

Back To Top

Demos/Graphics

Demonstrate real-time plots
Demonstrates the TimeGUI plugin in a loop.

Back To Top

Demos/Help


Back To Top

Demos/MassProperties

Examples to verify TransRotMassProps and TotalMassProps functions

Back To Top

Demos/Plugins

Telemetry Demo

Back To Top

Demos/UKF

A UKF for estimating position, velocity and accelerometer bias.
Simulate a UKF with a nonlinear spring example.
Demonstrate UKF parameter estimation with a nonlinear spring example.
Demonstrate UKF parameter estimation with a rigid body.
Demo of Rauch-Tung-Striebel smoothing for an Unscented Kalman Filter.

Back To Top

Estimation

Angle sensor.
Continuous discrete iterated extended Kalman Filter.
Continuous Wiener process acceleration (CWPA) model.
Extended Kalman Filter prediction step.
Extended Kalman Filter measurement update step.
Jacobian of RHSUKF.
Iterated Extended Kalman Filter measurement update step.
Interactive Multiple Models prediction step.
Interactive Multiple Models update step.
Initializes Kalman Filter data structures for the KF, UKF and EKF.
Linear Kalman Filter prediction step.
Linear Kalman Filter measurement update step.
Mechanizes one step of a Kalman Filter with a forgetting factor
Combine forward and backward covariances and states.
Right hand side for a one dimensional vertical motion simulation.
Rauch-Tung-Striebel smoothing
UKF sigma points using chol.
Makes a square matrix symmetric by adding its transpose and dividing
Implements a Kalman filter using UD factorization.
Implement an Unscented Kalman Filter.
Implement an Unscented Kalman Filter for parameter estimation.
Unscented Kalman Filter state prediction step.
Rauch-Tung-Striebel smoothing for an Unscented Kalman Filter.
Unscented Kalman Filter transform.
Unscented Kalman Filter measurement update step.
Unscented Kalman Filter weights.
Implement an Unscented Kalman Filter in UD (upper diagonal) form.

Back To Top

FileUtils

Find a list of files in the directory who have been modified
Save the file at the path of the calling function.
Returns the path to a directory.
Find all files that contain a specified string.
Find the files required by a function or a script in order to run
Finds all instances of the string z in directory d.
GUI to find occurrences of a text string in m-files on your MATLAB path.
Return the first line of code for a m-file. This is the first line that
Make line endings consistent with the platform.
Get the root name of a file (without the .xxx)
Get the suffix of a file, i.e. the xxx of yyyyy.xxx.
Finds all files in the directory d. Recursively searches through
Gets the modification date.
Determine whether a file is a function or script.
Open a file using a GUI if it is not specified.
Generate a cell array list of all directories in the Matlab path.

Back To Top

General

Add an item to a uicontrol listbox.
Add a local directory to the path and return to the current directory.
Determines if the string is all capital letters. s may be a cell array
Converts an array a s function string.
Assign either a string or function handle depending on the MATLAB version.
Consumer Price Index adjustment.
Convert a structure into a cell array where columns of the array
Converts a cell array to a matrix.
Find a position array that centers a figure
Change the path
Close a figure
Close h if it is a handle to a figure.
Closes every file not listed in kOpenPre.
Close a UIElement.
Produce a set of 3-element RGB colors that spread across the colormap.
Outputs the size of each column of a cell array.
Convert Fortran formats to C. Specifically A, I, D, E, F are converted.
Creates an HTML table from x. x may be a two dimensional cell array or
Creates a LaTeX table from x.
Creates a table from x for displaying to the command line.
Delete all blanks including spaces, new lines, carriage returns,
Delete leading and trailing blanks.
Display a message to help debugging.
Delete a cell element of a one dimensional cell array.
Delete the selected item from a list.
Close h if it is a handle
Deletes the .xxx part of a name.
Converts a directory list into a cell array. The second argument can be
Display a variable with a title.
This function creates and draws a tree diagram.
Creates a dialog which requires a string as an answer.
Implement a scrollable edit window
Returns one if a and b are identical. This function calls itself
This routine implements the flight software clock.
Generates fractals. Pass a vertex list, face list, depth of the fractal
GUI for setting interface colors.
Gets the last uicontrol that was hit.
Gets the input from a vector of graphics handles and determines
Generates an output from a string.
Get an element from a list uicontrol. Returns empty if there is no
Get a new tag to uniquely identify a figure.
Get certain properties of UIElements.
Returns 1 if a licensed optimization toolbox is in your path
Create and manages a hierarchical list. Each element of the list is
Computes U.S. inflation.
Converts an integer to binary [lsb msb] in two's complement.
Determine if a field exists and is not empty.
Checks to see if the version of MATLAB is after n
Checks to see if the version of Matlab is before n
Converts a number into a string using latex notation.
Creates a LaTeX table from s.
Produce a new figure with just a legend of colors and names.
List the switch cases that are included in a given file.
List the functions that are called from a given file.
List the member functions that are included in a given function/file.
List all parents of a function. Search inside given folder.
Converts a string matrix to a cell array.
Convert a cell array of p x p matrices into a 3D matrix.
Creates a message queue GUI. Once opened, it stays open.
Converts a matrix to a one line string.
Print a title with --- under and above.
Code used to process tags for sensors and actuators.
Create radio buttons. Units are pixels. format is a cell array of the
Returns 1 if the data structure g has the required fields in r
Save a MATLAB movie.
Save a structure in a file. You will be able to read it in by typing
Selection GUI.
Set certain properties of UIElements
Sort a nxm cell array by the values in the first column.
Generates steps for any number of inputs. Since version 10.
Finds the first token in a string
Converts a string to a list of tokens.
Convert a structure into a cell array.
Write data structure to a text file or command line display.
Creates a list of structures and variables.
Create a tab box from plug-ins.
Tesselate polygons by breaking them into triangles.
Interface to PSS and Mathworks UI.
Returns the time if valid. Otherwise returns empty. Valid time is
Manages the wait bar.
Add a watermark to a figure.
This function found on Mathworks website as a bug-fix for MATLAB 7.
Give the length of a file in bytes.

Back To Top

Graphics

Adds x,y,z coordinate axes to a figure.
Add mode changes to a plot.
Find mode changes in data and draw as filled sections on existing plots.
Add view accelerators to a figure.
Add zoom-in (CTRL+I) and zoom-out (CTRL+O) accelerators to a figure.
Draw a patch showing the inner angle between two vectors.
Draw a cube given its dimensions.
Animate one or more time-varying vectors.
Animate a set of 2xN or 3xN matrices over N steps.
Choose n colors from around the RGB color wheel.
Draw attitude coordinates.
Draw axes on the current plot with X, Y, Z, text labels.
Adjust 3D axes.
Equalize the axes with a minimum relative size for the smallest axis.
Creates a bar plot of x.
Draw a box centered at the origin.
This function creates a GUI for manipulating the camera view.
Compute a centroid from a set of vertices.
Compute x y data for a 2-D Circle.
Compute the vertices for a cone.
Converts the Wavefront OBJ color format to Matlab.
Creates a figure with x,y,z coordinates at the origin.
Generates a cylinder with a hemisphere on one end instead of a flat disk.
Draw a disk.
Displays a LaTeX table.
Draw a CAD model stored in the toolbox CAD format.
Draw fields of view.
Draws an image in a figure window
Draw a sphere with specified latitude and longitude lines.
Generates an ellipsoid using the equation
Generate an object from cross sections. Type Extrude for a demo.
Extrude from a radial profile.
User-interface to manage figure windows.
Draw a frustrum of a cone.
Get Function Names
Graphical interface to create a polygon.
Get vertices for surfaces of revolution, ellipsoids and cylinders
Generate an icosahedron inscribed in a unit sphere.
This function displays an image file and overlays text boxes.
Create an information dialog that will be dismissed by a script.
Finds the vector giving the intersection
Labels a line.
Add a title to the current legend.
Plot the location of points
Given a frequency vector, find the logarithm of the frequency
Message log. Keeps an ordered, scrollable set of messages.
Draws a 2 dimensional or three dimensional map of a planet.
Draws mesh plots with axis labels.
Generate a 3DMF for a mesh. This function will append ".t3d" to the file.
Draw an elliptical covariance display in real-time.
Create a polygonal mesh from a surface of revolution. The origin
Convert a mesh to a patch. If the arguments v and f are input
NPlot generates a plot on which the ylabels are character strings. The
Creates a new figure.
Compute a normal from a set of vertices using the Newell method.
Displays an estimate of time to go, compatible with ode113.
Draw a plate in the xy plane.
Create a GUI with playback controls.
Easily build a versatile 2D plot page consisting of any number of plots.
Create a 3-dimensional plot.
Plot a 3 vector as x, y, z subplots as well as a combined plot.
Plot one or more angular ranges on a unit circle
Manage a set of arrays for plotting simulation data.
Generate [r, g, b] for and index k = 1 to 100.
Generates a plot with two y axes.
Create any number of plot pages in one call. Utilizes Plot2D.
Draws plots of a set of 3*m-by-n vectors in 3D axes.
Edit this to globally change the plot styles for the plot labels
Generate the properties for a polygon given vertices in the form v(3,n).
Polygon properties from vertex and face data.
With an input in meters/s give a reasonable output scale
Prints specified figures to a printer or files.
Plot real time
Renames a figure title.
Compute faces and vertices for a sector patch.
Set the dimensions of the figure when copied or printed.
Sets default fonts
Generate strut going from x1 to x2.
Create a slider in a new figure with continuous calls to callback.
Sort figure windows by cascading them.
Draw a splash screen.
Draw a covariance display in real-time.
GUI for stopping scripts. Has Pause, Stop, and Plot buttons.
In a matrix with each row a string finds the matching string
Generate a variable radius strut going from x1 to x2.
Prints labels on a graph.
Perform actions specified by the time display.
Displays an estimate of time to go.
A GUI displaying the time remaining and estimated completion time.
Generates a time label given the maximum value of t and rescales t.
Computes the time left to go in the simulation, the predicted finish
Creates a title using the toolbox style settings.
Since Version 11.
Draw a triangle.
Generate a triangular truss going from x1 to x2.
Generate a square truss going from x1 to x2.
Draw a tube with specified inner and outer wall, and length.
Draw a portion of a tube with an inner and outer wall.
Generate a tube through the points p.
Draw a box with a u cut at the +x end.
Adds vantage points to an existing plot.
With an input in meters/s give a reasonable output scale
View a plane of a 3D plot or standard cartesian view.
Draw a wedge between x1 and x2.
Creates an xlabel using the toolbox style settings
Creates a ylabel using the toolbox style settings
Creates a zlabel using the toolbox style settings

Back To Top

Interface

Export two dimensional matrices to a file that can be read by pss_matrix.
Reads data from a simulation log file.
Plots output data from external simulations.
Read in tabular data in .csv file and convert it to a structure array.
An example s-function that interfaces mfiles to Simulink. It implements
Prints attitude data to STK-formatted file
Prints orbit data to STK-formatted file.
Write a set of variables to a VC flat file (comma-separated with header).
Write a matrix for use in a C or C++ program.

Back To Top

MassProperties

Convert an inertia matrix from a 1x6 to a 3x3 format.
Compute the inertia about the CM given the inertia about point 0,
Computes an inertia matrix from an obj file or data structure.
Compute the principal moments of inertia from the inertia about the CM.
Computes inertias of common objects about their c.m.
Computes a mass properties data structure from an obj file.
Compute inertia, volume and center of mass of a uniform tetrahedron.
Create a mass data structure.
Add mass properties. The center of mass and inertia of every part are
Translate and/or rotate the moment of inertia.
Translate and rotate mass properties to a new coordinate system.
Computes mass properties for a component defined by vertices and faces.
Computes volumes of common objects about their c.m. All objects

Back To Top

Materials

Returns Poisson's ratio.

Back To Top

Plugins

Create a detection filter gains GUI plug in used by DetectionFilterBuilder.
Create the Normalize GUI plug in used by DetectionFilterBuilder.
Plot a variable number of points. The function is called as:
Create a Simulate GUI plug in used by DetectionFilterBuilder.
Create an StateSpace GUI plug in used by DetectionFilterBuilder.
Generates a GUI with a set of telemetry pages.
This GUI plots telemetry files previously saved by Telemetry.
Plot real time in a single window.
Create a time GUI plug in.

Back To Top

Quaternion

Convert an angle and a unit vector to a quaternion.
Animate the evolution of 2 quaternions over time.
Animate the evolution of a quaternion over time.
Finds the derivative of a transformation matrix in terms of quaternions
Converts a transformation matrix to a quaternion.
Convert a quaternion to an angle and a unit vector.
Converts a quaternion to 3-2-1 Euler angles.
Converts a quaternion to a transformation matrix.
Creates a quaternion based on a pure rotation about the any axis.
Computes the quaternion derivative from angular velocity.
Small angle errors between two quaternions.
Transforms a vector in the direction of the quaternion.
Multiply two quaternions.
Transpose of a quaternion.
Generates a random quaternion. The first element is always positive.
Transforms a vector opposite the direction of the quaternion.
Unitizes a quaternion. Quaternions are assumed to be the columns of q.
Outputs the zero quaternion, [1;0;0;0]
Converts an angle vector into a quaternion.
Finds the quaternion that aligns a unit vector with a second vector.

Back To Top

Time

Computes the date from the day number and year. January 1 is day 1.
Converts a day number string to a date.
Converts the date time array to the date time structure
Converts the date time structure to the date time array
Compute the day number from the date. Uses the format from clock. If no
Computes the fractional year from the date.
Compute the Julian Date from the date.
Convert a date string to Julian date. The date string
Computes the difference between UT1 and TT based on the Julian date.
Finds the Julian Date for solstices and equinoxes.
Returns the Julian Date for J2000.0 0d 0h UT
Compute an array of Julian dates from an epoch.
Compute the day number from Julian date.
Compute the calendar date from the Julian date. Uses the format
Computes the day of the week from Julian day number.
Converts Julian date to Modified Julian Date
Converts Julian days to centuries from J2000.0
Convert Julian Date to the form '04/20/2000 00:00:00'
Converts a Julian date to the nearest midnight.
Determines if a year is a leap year
Compute the Julian Date from the local time.
Compute the Julian Date from the local time.
Converts Modified Julian Date to Julian date.
Convert seconds to days hours/min/seconds and produces a string.
Provides the system time to the software.
Converts Julian centuries from J2000.0 to days
Converts Terrestrial atomic time to Terrestrial dynamic time
Converts barycentric dynamical time; used as time-scale
Converts Terrestrial (dynamic) time to Terrestrial atomic time
Converts terrestrial dynamic time to barycentric dynamical
Converts TT (Terrestrial (dynamic) Time)
Convert a time string to Julian date. The time string
Converts UT1 (time scale based on the rotation of the earth)
Converts years in fractional form, e.g. 1993.5 to T

Back To Top

Transform

Convert an angle and a unit vector to a matrix.
Computes the altitude above an ellipsoidal planet.
Converts cartesian coordinates to spherical.
Computes a transformation matrix from the frame in which u is defined
Convert degrees, minutes and seconds to radians
Convert degrees, minutes and seconds to radians.
Convert degrees to degrees, minutes and seconds.
Convert radians to hours, minutes and seconds
Converts 3-2-1 Euler angles into an orthonormal transformation matrix.
Converts 3-2-1 Euler angles to a quaternion using the half angle
Converts 3-2-1 Euler angle rates into angular velocity. If only one
Convert hours, minutes and seconds to degrees.
Convert hours, minutes and seconds to radians.
Transform a 6x1 compact inertia vector into a 3x3 inertia matrix.
Transform a a 3x3 inertia matrix into 6x1 compact inertia vector.
Converts an orthonormal transformation matrix into 3-2-1 Euler angles.
Computes the transformation matrix from an r, phi, theta frame
Converts right ascension and declination to unit vectors.
Convert radians to degrees, minutes and seconds
Convert radians to hours, minutes and seconds
Converts angular velocity into 3-2-1 Euler angle rates. If only one
Generates a rotation matrix that transforms in the opposite direction
Converts spherical coordinates to cartesian.
Recompute the moment of inertia "i" by translating axes.
Computes a unit vector offset from v2 with origin at v1.
Converts apparent visual magnitude to intensity in watts/m^2.

Back To Top

SVN Revision: 42334


Back to API main page