How to plot the variations for integrating parameter

1 次查看(过去 30 天)
Hello all,
I have some equations integrated in Matlab. One such set of equations are,
H2Ox = @(EA) -0.0023*(-8/(48000^8))*(((EA)-183000)^7);
H2Oz = integral(H2Ox, 183000, Inf);
Here there are no issues with integration, but I would like to plot the variations for integrating parameter EA. I don't know if Matlab provides the intervals to understand the change in values.
Is it possible to get the EA values as output ? in order to understand as how EA behaves ?
Kindly someone share the thoughts.
Thank you
  7 个评论
Ghazwan
Ghazwan 2022-10-10
ok. If you plot it a simple 2D plot, what would be the X and Y axes?

请先登录,再进行评论。

采纳的回答

Torsten
Torsten 2022-10-10
Note that integral(H2Ox, 183000, Inf) = Inf !!
H2Ox = @(EA) -0.0023*(-8/(48000^8))*(EA-183000).^7;
H2Oz = @(y) integral(H2Ox, 183000, y);
y = 183000:100:300000;
plot(y,arrayfun(H2Oz,y))

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by