Thank you for your reply. I have a function on which I want to determine its "peakiness". I was told that Kurtosis is a method I could use for this. I am able to calculate it for numerical data but am unsure for a continuous function.
The thougthts I have for doing it is:
* Calculate the mean (intergrate and divide by length on x-axis)
* Calculate a function that is equal to the standard deviation for each point (using the mean calculated above).
* Use the previous sdv function above to calculate the kurtosos at each point in the form of a continuous function.
You may be interested to see some code I used for numerical data:
% Calculating Kurtosis
% where Z is a row, the output is the kurtosis in a row
Z = cforce(i,:);
meanZ = sum(Z) / length(Z);
stdZ = sqrt(sum(Z' * Z) / (length(Z)-1));
kurtosisZ = ( meanZ.*(Z-meanZ).^4 ) ./ ( stdZ.^4 );
cf_kur(i,:) = kurtosisZ;
Do you have some ideas how I could do this for a continuous function?