summation of two curves with different data points
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Cris LaPierre
2020-3-31
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!