Relative radial speed
Rspeed = radialspeed(Pos,V)
Rspeed = radialspeed(Pos,V,RefPos)
Rspeed = radialspeed(Pos,V,RefPos,RefV)
returns
the radial speed of the given platforms relative to a reference platform.
The platforms have positions Rspeed
= radialspeed(Pos
,V
)Pos
and velocities V
.
The reference platform is stationary and is located at the origin.
specifies
the position of the reference platform.Rspeed
= radialspeed(Pos
,V
,RefPos
)
specifies
the velocity of the reference platform.Rspeed
= radialspeed(Pos
,V
,RefPos
,RefV
)

Positions of platforms, specified as a 3byN matrix. Each column specifies a position in the form [x; y; z], in meters. 

Velocities of platforms, specified as a 3byN matrix. Each column specifies a velocity in the form [x; y; z], in meters per second. 

Position of reference platform, specified as a 3by1 vector. The vector has the form [x; y; z], in meters. Default: 

Velocity of reference platform, specified as a 3by1 vector. The vector has the form [x; y; z], in meters per second. Default: 

Radial speed in meters per second, as an Nby1 vector. Each number in the vector represents the radial speed of the corresponding platform. Positive numbers indicate that the platform is approaching the reference platform. Negative numbers indicate that the platform is moving away from the reference platform. 