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

98 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Torsten
Torsten il 14 Nov 2018
Modificato: Torsten il 14 Nov 2018
rate_of_change_of_altitude = diff(altitude)./diff(time)

Più risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by