How to create function of this calculations

2 次查看(过去 30 天)
i have figure with several plots.
i want to calculate the y2-y1 at same axis x.
y3-y2
y4-y3
y5-y4
y6-y3
etc.
all at the same x.
after that i wnat to calculate
y3-y2/y2-y1
y4-y3/y3-y2
y5-y4/y4-y3
y6-y5/y4-y3
and soon
only that thankx
i have already my own function where
x = (0:0.5:3)%
y= a*b*c*(x)%a, b, c constant

回答(1 个)

uncung fgv
uncung fgv 2012-11-21
addition: if i change a value
i produce many plots at this figure.

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by