Peaks Detection algorithm - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Peaks Detection algorithm

old_manold_man Posts: 1Member
Dear friends

Can anybody help me doing this:

I have a file that represent population growth readings over time. I want an algorithm that determine the peaks in this data.

Regards

Hani

Comments

  • DrMartenDrMarten Posts: 748Member
    [b][red]This message was edited by DrMarten at 2005-9-24 10:38:49[/red][/b][hr]
    : Dear friends
    :
    : Can anybody help me doing this:
    :
    : I have a file that represent population growth readings over time. I want an algorithm that determine the peaks in this data.
    :
    : Regards
    :
    : Hani
    :
    ----------------------

    Just store the population in a variable. Write this to a small file.

    Compare the new population to the old one andf update the population if necessary.

    In BASIC>>

    If NewPop>OldPop then OldPop=NewPop
    Rem Where NewPop = "New-Population" and OldPop = "Old Population"

    OldPop will always hold the peak population if you manage to store the variable in a file.

    As i don't know which program you want to use for this so i can't offer any further help,sorry.

    Hope this helps?

    DrM



Sign In or Register to comment.