MATLAB Answers

How to create function of this calculations

1 ビュー (過去 30 日間)
uncung fgv
uncung fgv 2012 年 11 月 21 日
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.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by