MATLAB Answers

0

How to calculate the area under a main lobe

Asked by KatherineS on 7 Aug 2019
Latest activity Edited by KatherineS on 7 Aug 2019
Hi,
I have two main lobes with side lobes, I need to calculate the area underneath the main lobe, and then the area between the peak and full width half height? Does anyone know how to do this? I have searched the documentation but I cannot find anything that works. I have attached the image so the probelm can be seen
Thanks in advance

  2 Comments

Sounds like an area under the curve problem. I would recommend using the trapz() function (at a range value of about 6?). Its hard to tellif your data is actually 3 dimensional or not. It seems to only really have a value at 2 range values.
info on trapz():
Thank you for your help, wouldnt this also include the area under the side lobe values? Also the curves are 3D

Sign in to comment.

Products


Release

R2019a

0 Answers