Documentation Center

  • Trial Software
  • Product Updates

phased.Platform System object

Package: phased

Motion platform

Description

The Platform object models the translational motion of a target or array in space.

To model a moving platform:

  1. Define and set up your platform. See Construction.

  2. Call step to move the platform following a defined path according to the properties of phased.Platform. The behavior of step is specific to each object in the toolbox.

Construction

H = phased.Platform creates a platform System object™, H. The object models translational motion in space.

H = phased.Platform(Name,Value) creates object, H, with each specified property Name set to the specified Value. You can specify additional name-value pair arguments in any order as (Name1,Value1,...,NameN,ValueN).

H = phased.Platform(POS,V,Name,Value) creates a platform object, H, with the InitialPosition property set to POS, the Velocity property set to V, and other specified property Names set to the specified Values. POS and V are value-only arguments. To specify a value-only argument, you must also specify all preceding value-only arguments. You can specify name-value pair arguments in any order.

Properties

InitialPosition

Initial position of platform

Specify the initial position of the platform as a 3-by-1 column vector in the form of [x; y; z] (in meters).

Default: [0; 0; 0]

Velocity

Velocity of platform

Specify the current velocity of the platform as a 3-by-1 vector in the form of [x; y; z] (in meters/second). This property is tunable.

Default: [0; 0; 0]

OrientationAxes

Orientation axes of platform

Specify the three axes that define the local (x, y, z) coordinate system at the platform as a 3-by-3 matrix (one axis in each column). The three axes must be orthonormal.

Default: [1 0 0;0 1 0;0 0 1]

OrientationAxesOutputPort

Output orientation axes

To obtain the orientation axes of the platform, set this property to true and use the corresponding output argument when invoking step. If you do not want to obtain the orientation axes of the platform, set this property to false.

Default: false

Methods

cloneCreate platform object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs from step method
isLockedLocked status for input attributes and nontunable properties
releaseAllow property value and input characteristics changes
resetReset platform to initial position
stepOutput current position, velocity, and orientation axes of platform

Examples

Define a platform at origin with a velocity of (100,100,0) in meters per second. Simulate the motion of the platform for 2 steps, assuming the time elapsed for each step is 1 second.

Hp = phased.Platform([0; 0; 0],[100; 100; 0]);
T = 1;
[pos,v] = step(Hp,T)
[pos,v] = step(Hp,T)

See Also

| | | |

Related Examples

Was this topic helpful?