Acceleration, Velocity and Position in MATLAB

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2023
  • It's easy to calculate velocity and position from acceleration using MATLAB. Here's a video showing how to do it both symbolically and numerically.

ความคิดเห็น • 2

  • @thorstenstraub3657
    @thorstenstraub3657 24 วันที่ผ่านมา

    A nice overview containing manual and symbolic integration and plotting the results. The shown commands provide nice plots with minimal effort. Especially I like how MATLAB uses common default values. For example, the additive constant C from the integration process is set in a way that the initial condition (t=0) for v and x is 0.
    It was a surprise to me that the integral boundary can be called t when the independent variable is t, too. It was explicitly mentioned that this violates no rules - and MATLAB accepts it - but in my understanding these are two separate things. The integral boundary is a static specific point in time at which the integration ceases. While the t in the formula is floating and takes all values within the integration boundaries. Anyway, it is simple and it works.
    A numerical integration is not shown, though. Instead the formulas obtained in the previous symbolic step were re-used. Tiny correction: The expression for x in 18:14 contains '..+3*t...' which is wrong. It should be 2*t since the expression for v contains a 2, not a 3.

  • @checull
    @checull หลายเดือนก่อน

    thanjk you!
    :)