How to create function of this calculations
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!