I have a time vector column (T) and i need to plot delta(T) vs T ?
Afficher commentaires plus anciens
So i am new in matlab and i have this time vector column. I have to plot the Delta T (which is the difference) vs the time vector column. how to find the delta T of all the values of the column in a single variable and plot it vs T
Réponse acceptée
Plus de réponses (1)
madhan ravi
le 22 Oct 2018
T
delta_T = diff(T)
plot(delta_T(1:numel(T)),T,'-ob')
This will do the trick
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!