How to integrate the discrete data?

3 次查看(过去 30 天)
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 个评论
Jan
Jan 2021-10-17
Isn't the total power simply the sum of the powers? The half maximum of what?
Vinay Killamsetty
Vinay Killamsetty 2021-10-24
Yeah, thats true.
Thank you for your advice.

请先登录,再进行评论。

采纳的回答

Prachi Kulkarni
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 个)

类别

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

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by