How to create function of this calculations

2 visualizaciones (últimos 30 días)
uncung fgv
uncung fgv el 21 de Nov. de 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

Respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by