How to create function of this calculations

1 vue (au cours des 30 derniers jours)
uncung fgv
uncung fgv le 21 Nov 2012
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

Réponses (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by