Hi all,
I have an array of 3000 points which when plotted against a time array form a function. I need to plot the instantaneous (NOT cumulative) integral against time and I am unsure how to do this. I've looked at trapz, quad and a few other functions but they don't seem to be giving me what I want. Can somebody please help me out (MATLAB newbie here)?
By instantaneous integral, I want to plot the integral as a function, much like the derivative. I don't want to know the area under the curve or plot the cumulative integral, I want the actual integral of the waveform that the data produces (which I don't have - and it's not a sinusoid or a cosine function or something simple like that). I hope that helps.....