How to integrate the discrete data?

조회 수: 9 (최근 30일)
Vinay Killamsetty
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
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에서 Power and Energy Systems에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by