summation of two curves with different data points
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am having a hard time to plot the summation of the following curves as the numbers and values of data points of each curve (in blue and black) are different.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/281018/image.jpeg)
0 comentarios
Respuestas (1)
Cris LaPierre
el 31 de Mzo. de 2020
You are plotting against time. The easiest thing I can think of is putting the underlying data into a timetable and then using the retime function to obtain data points at the same time step in both data sets.
If you are using Live Scripts, there is even an interactive task you could use. Read more about that here.
0 comentarios
Ver también
Categorías
Más información sobre Data Preprocessing 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!