05-09-2012 01:50 PM
Hi gstathatos,
you have been shown how to sort out elements of oyur array by value.
Now you ask for a way to sort out values by their value and then calculate an average of the remaining array elements.
Don't you think you can make the rest of the needed program on your own? All is already shown to you!
05-09-2012 02:07 PM
I am trying to solve this more than 2 days and stil haven't solve it that's why i asked for help,probably something i am doing wrong.I am sorry if i am asking a lot but I've tried many things and I have pull the desired result.
05-09-2012 02:19 PM - edited 05-09-2012 02:20 PM
Hi gstathatos,
PAnand already gave you a good example. I only toggled just one bit:
As explained before:
- sort the values into separate arrays for your "high" peaks and "low" values
- calc the average for each subset
Everything has been shown to you before!
Btw. both of you have problems to spell my name. It's just 5 chars...
05-10-2012 04:21 AM
Hello to everyone,
In the start of this subject a picture of a signal was given.My question is how can i calculate how many peaks i have in this signal?Is this possible?Please provide a suggestion code if you can.