tpoly

 tpoly Generate scalar polynomial trajectory
 
  [S,SD,SDD] = tpoly(S0, SF, M) is a scalar trajectory (Mx1) that varies
  smoothly from S0 to SF in M steps using a quintic (5th order) polynomial.
  Velocity and acceleration can be optionally returned as SD (Mx1) and SDD
  (Mx1) respectively.
 
  tpoly(S0, SF, M) as above but plots S, SD and SDD versus time in a single
  figure.
 
  [S,SD,SDD] = tpoly(S0, SF, T) as above but the trajectory is computed at
  each point in the time vector T (Mx1).
 
  [S,SD,SDD] = tpoly(S0, SF, T, QD0, QD1) as above but also specifies the
  initial and final velocity of the trajectory.
 
  Notes::
  - If M is given
    - Velocity is in units of distance per trajectory step, not per second.
    - Acceleration is in units of distance per trajectory step squared, not
      per second squared. 
  - If T is given then results are scaled to units of time.
  - The time vector T is assumed to be monotonically increasing, and time
    scaling is based on the first and last element.

 - 如果给出了M.
      - 速度以每个轨迹步长的距离为单位,而不是每秒。
      - 加速度以每个轨迹步长的平方距离为单位,而不是每秒平方。
    - 如果给出T,则结果按比例缩放到时间单位。
    - 假设时间向量T单调递增,并且时间缩放基于第一个和最后一个元素。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值