Many thanks for all the helpful suggestions
- To: mathgroup at smc.vnet.net
- Subject: [mg50055] Many thanks for all the helpful suggestions
- From: "1.156" <rob at pio-vere.com>
- Date: Fri, 13 Aug 2004 05:56:02 -0400 (EDT)
- References: <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks to all of you that gave suggestions. Apparently I had picked one
of the slowest and least elegant methods. Now, I've got to see if I can
understand these methods you sent. I hope I can.
Thanks again for all the wizzardry, Rob
>Mathematica wizards, I've managed to cripple together code to do something that
>I feel must be doable more easily and/or faster.
>S is a list of reals containing a signal with a prominent peak in
>amplitude. I simply want to find the index of the peak (x, the number of
>entries into the list where the peak occurs). Here's what I did.
>For[i = 1, S[[i]] ? max[S], i++, x = i];
>Can some suggest a better way, especially one not using a For loop?
Prev by Date:
Help with parameter estimation
Next by Date:
Re: How to set linewidth in 3-D graphics?
Previous by thread:
Re: Help with parameter estimation
Next by thread:
How does a notebook get its own filename or directory?