derivative from set of values code.

17 visualizaciones (últimos 30 días)
Inshal Azhar
Inshal Azhar el 13 de Feb. de 2021
Respondida: KALYAN ACHARJYA el 13 de Feb. de 2021
i have a set of values of displacemnt and time values. how can i get the values of velocity and acceleration with this?

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 13 de Feb. de 2021
Hints Only:
Extracts the displacement and time vector separately from the input data matrix , use indices colon":" for all rows or clumns
Velocity: The rate of change of displacement wrt time
velocity=diff(displacemnet)./diff(time)
See the detail of diff function here
Acceleration: The rate of change of velocity wrt time , do double differentiation or once more on above equation.

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by