Common Module

Directory List

CommonData ComponentModels Control
Database GUIs General
Graphics MassProperties Materials
Plugins Quaternion Time
Transform


CommonData


Back To Top

ComponentModels

Generate a box centered at the origin.
Compute the vertices for a cone.
Generate a frustrum of a cone.
Get vertices for surfaces of revolution, ellipsoids and cylinders
Generate a solid triangle.

Back To Top

Control

Create a discrete time system using a zero order hold.
Create a discrete time systems using the delta operator.
Compute the frequency response of the system given a, b, c and d.
Compute the frequency response given a numerator/denominator pair.
Compute the multivariable frequency response of the system.
Creates state-space model from numerator and denominator polynomials.
A 3-axis proportional controller
Produces a state space n degree of freedom PID controller.
Eigenvalues to damping and natural frequency.
Converts from state space to numerator denominator form.
Checks the dimensions of the set a,b,c,d for consistency.
Computes the transmission zeros of a plant
Frequency vector with complex poles and zeros.
Creates a frequency vector with points around resonances.
Generates the frequency response for a digital filter.

Back To Top

Database

Outputs the value of a constant or opens a GUI for searching.

Back To Top

GUIs

User-interface to manage figure windows.
Produce a new figure with just a legend of colors and names.
Creates a message queue GUI. Once opened, it stays open.
Displays an estimate of time to go, compatible with ode113.
Displays an estimate of time to go.

Back To Top

General

Converts a cell array to a matrix.
Close a figure
Outputs the size of each column of a cell array.
Creates a table from x for displaying to the command line.
Delete all blanks
Delete leading and trailing blanks.
Delete a cell element of a one dimensional cell array.
Display a variable with a title.
Implement a scrollable edit window
This routine implements the flight software clock.
Gets the last uicontrol that was hit.
Get an element from a list uicontrol.
Get a new tag to uniquely identify a figure.
Returns 1 if a licensed optimization toolbox is in your path
Determine if a field exists and is not empty.
Checks to see if the version of MATLAB is after n
Converts a number into a string using latex notation.
List the switch cases that are included in a given file.
Converts a string matrix to a cell array.
Code used to process tags for sensors and actuators.
Save a MATLAB movie.
Save a structure in a file. You will be able to read it in by typing
In a matrix with each row a string finds the first matching string.
Finds which elements of sA match s
Converts a string to a list of tokens.
Write data structure to a text file or command line display.
Add a watermark to a figure.

Back To Top

Graphics

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.
Draws a 3D arrow into an existing figure
Draw axes on the current plot with X, Y, Z, text labels.
Adjust 3D axes properties.
This function creates a GUI for manipulating the camera view.
Produce a set of 3-element RGB colors that spread across the colormap.
Creates a figure with x,y,z coordinates at the origin.
Draw an object from vertices with in a figure using patch, using lighting.
Generates an ellipsoid using the equation
Labels a line.
Given a frequency vector, find the logarithm of the frequency
Draws a 2 or 3 dimensional map of a planet.
Draws mesh plots with axis labels.
NPlot generates a plot on which the ylabels are character strings.
Creates a new figure.
Easily build a versatile 2D plot page consisting of any number of plots.
Create a 3-dimensional plot.
Edit this to globally change the plot styles for the plot labels
Create a slider in a new figure with continuous calls to callback.
Sort figure windows by cascading them.
Prints labels on a graph using text with toolbox style settings.
Time history plots
Generates a time label given the maximum value of t and rescales t.
Creates a title using the toolbox style settings.
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

MassProperties

Add mass properties.
Convert an inertia matrix from a 1x6 to a 3x3 format.
Computes inertias of common objects about their c.m.
Create a mass data structure.
Computes volumes of common objects about their c.m.

Back To Top

Materials

Returns gas properties.

Back To Top

Plugins

Create and manages a hierarchical list. Each element of the list is

Back To Top

Quaternion

Convert an angle and a unit vector to a quaternion.
Animate the evolution of a quaternion over time.
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.
Transforms a vector in the direction of the quaternion.
Multiply two quaternions.
Transpose of a quaternion.
Generates random quaternions.
Transforms a vector opposite the direction of the quaternion.
Unitizes a quaternion.
Outputs the zero quaternion, [1;0;0;0]
Finds the quaternion that aligns a unit vector with a second vector.

Back To Top

Time

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.
Compute the Julian Date from the date.
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.
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.
Converts Julian centuries from J2000.0 to days

Back To Top

Transform

Computes the altitude above an ellipsoidal planet.
Converts 3-2-1 Euler angles into an orthonormal transformation matrix.
Converts 3-2-1 Euler angles to a quaternion
Converts an orthonormal transformation matrix into 3-2-1 Euler angles.
Computes the transformation matrix from an r, phi, theta frame
Generates a rotation matrix that transforms in the opposite direction

Back To Top

Back to API main page