Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'EDA newbie question' topicStudent Support Forum > General > Archives > "EDA newbie question"

Help | Reply To Topic
Author Comment/Response
Mike Sampson
03/26/04 2:35pm

Hi -

I need to use the parameters returned by the FindPeaks function in further calculations. Specifically, I need to use PeaksFound in a For loop and the values of Amplitude, CenterValue, etc.

How does one access these? I've tried :

For[i = 1, i < PeaksFound, i++,
If[1570 < CenterValue(i) < 1600, Print[CenterValue(i)]]]

and even though I have a peak at 1582.21, I get no output (nor error messages...)


URL: ,
Help | Reply To Topic