How can I work out the rate of change for my experimental data?

10 vues (au cours des 30 derniers jours)
katherine keogh
katherine keogh le 14 Nov 2018
Modifié(e) : Torsten le 14 Nov 2018
I have a set of experimental data I have plotted, I'd like a second graph demonstrating the rate of change of one of the variables. I have time against altitide, so the seocn graph is the rate of change of altitude (gradient of the first graph) against time. Please can people direct me to using the right code
Thank you

Réponse acceptée

Torsten
Torsten le 14 Nov 2018
Modifié(e) : Torsten le 14 Nov 2018
rate_of_change_of_altitude = diff(altitude)./diff(time)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by