Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I want to develop a program
which reads values and finds triplets in a signal is a triplet signal values ??with following properties: (a) the two extreme values ??are equidistant from the middle value, and (b) the two extreme values ??are equal and less than half the median price. The median value of a triplet gives the characteristic frequency equal to the median position in the signal.
Thanks for you help.