How do I create a Cumulative Cost Curve
2 次查看(过去 30 天)
显示 更早的评论
I am trying to produce a cumulative cost curve as a function of volume. I have a 50x2 file opened. The first column (X) is the volume, the second column (Y) is cost. Basically, if X1=X2, then the period should be that long (2 units), and the cost should be the average of Y1 and Y2.
That is, if X(i) equals X(i+1), X(i+2), etc, then the x axis needs to be that long and the y axis needs to be the average of the costs associated with each of those volumes.
I am very stuck! Please help :)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!