How to integrate the discrete data?
3 ビュー (過去 30 日間)
古いコメントを表示
Vinay Killamsetty
2021 年 10 月 17 日
コメント済み: Vinay Killamsetty
2021 年 10 月 24 日
Hi,
I am having a 3 2d matrices
1st matrix is of size NxM corresponds to the X-cordinates
2nd matrix is of size NxM corresponds to the Y-cordinates
3rd matrix is of size NxM corresponds to the Power at the above designated cordinates
How to find the Total power and total power above half maximum?
2 件のコメント
採用された回答
Prachi Kulkarni
2021 年 10 月 21 日
Hi,
Integration is equivalent to summation in the discrete domain. So, if P is your NxM power matrix, you can compute the total power and total power above half maximum as follows, assuming the power is in watts.
totalPower = sum(P,'all');
maxPower = max(P(:));
totalPowerHalfMaximum = sum(P(P>0.5*maxPower));
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!