clc;a=importdata('anirban normal.mat');b=a.data;x=b(22810:25750,1);figure();plot(x);Area=trapz(1:694);x(x<0)=[];findpeaks(x);findpeaks(x,'MinPeakHeight',0.927);*
MATLAB: I am trying to find the area as a part of a graph(Area-A and Area-B in the picture below). However, when I am using “trapz” function, it is not giving any output. Code is mentioned below and .mat file is attached. Please help me out.
trapz
Best Answer