How do I produce a graph of the slope of a group of data points?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mark
el 12 de Jun. de 2014
I am currently working with a set of historical price points, and I am looking to graph the slope of the changes over time. The data, however, is too erratic to create an effective best fit curve. I am fairly unfamiliar with Matlab. Is there a way to do this effectively?
11 comentarios
Respuesta aceptada
José-Luis
el 12 de Jun. de 2014
plot(diff(y));
Please read the documentation to see how diff() works.
Please accept an answer when your problem has been solved.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects 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!