フィルターのクリア

How to plot the variations for integrating parameter

3 ビュー (過去 30 日間)
Kumaresh Kumaresh
Kumaresh Kumaresh 2022 年 10 月 8 日
コメント済み: Kumaresh Kumaresh 2022 年 10 月 13 日
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?
Kumaresh Kumaresh
Kumaresh Kumaresh 2022 年 10 月 10 日
X - EA,
Y - Dependent variables like FE_H2O, CO2, so so on

サインインしてコメントする。

採用された回答

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))
  1 件のコメント
Kumaresh Kumaresh
Kumaresh Kumaresh 2022 年 10 月 13 日
Thanks Mr. Torsten. You saved my day. You should be called as MATLAB magic man !!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by