フィルターのクリア

Is it possible to perform integration from zero to inf in Matlab?

51 ビュー (過去 30 日間)
Sergey Dukman
Sergey Dukman 2015 年 9 月 29 日
コメント済み: Sergey Dukman 2015 年 9 月 29 日
Hello, I have two data vectors and would like to integrate their product from zero to infinity. Is it even possible and how?
Regards, Sergey
  2 件のコメント
Steven Lord
Steven Lord 2015 年 9 月 29 日
That's an impressive machine that has enough memory to store an infinitely long vector. Can you clarify exactly what you have? Vectors, functions, etc?
Sergey Dukman
Sergey Dukman 2015 年 9 月 29 日
I have two vectors that represents Rayliegh distribution coefficients and actual power output of a wind turbine. In order to compute the average power output, those two components needs to be multiplied by each other and result integrated. But the power output is a function of wind speed. It means that I need to integrate from 0 to my mean wind value at the given height.

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

採用された回答

Walter Roberson
Walter Roberson 2015 年 9 月 29 日
If you had two functions you could create another function that was the multiple of the others and then integrate that:
h = @(x) f(x) .* g(x)
integral(h, 0, inf)
But if you have data vectors then they must be finite vectors and it would not seem to make sense to integrate a finite vector to infinity. Please expand on your meaning about the vectors?
  1 件のコメント
Sergey Dukman
Sergey Dukman 2015 年 9 月 29 日
I agree. I just was not sure that I need to integrate from zero to inf. Those to vectors represents Rayliegh distribution coefficients and actual power output of a wind turbine. In order to compute the average power output, those two components needs to be multiplied by each other and result integrated. But the power output is a function of wind speed. It means that I need to integrate from 0 to my mean wind value at the given height.
Sergey

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by