A program to recognize and reward our most engaged community members
I have a file with measured data f(t). The data are sinusoidal with changing amplitudes over time. Now I want to get the envelope of that data, i.e. floating peak-to-peak value or max. amplitude over time. How can I achieve this?
Thanks, Ronald
Hi Ronald,
You can use max or min command to find the maximum or minimum Y value in the data.
Hope this helps,
Thanks,
Manoj Kandukuri
Thanks, Manoj.
Min/max are the basic functions to calculate the envelope. While they just deliver one scalar, I have to combine them with a loop and a piecewise min/max calculation.
I hoped, I could use an existing function (or macro).
Best regards,
Ronald
I apologize for late reply.. I don't have an existing macro which does the same...
MK