       Re: Looking to time how long a command takes in mathematica 6 tia

• To: mathgroup at smc.vnet.net
• Subject: [mg97075] Re: Looking to time how long a command takes in mathematica 6 tia
• From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
• Date: Wed, 4 Mar 2009 07:15:03 -0500 (EST)
• References: <goj2i3\$2uu\$1@smc.vnet.net>

```The calculation is finished in 16 ms.

The waveform you are generating doesn't seem to be meaningful. Try to
make one with audible frequency content (as others, whom you
stubbornly ignored, already pointed out to you).

Cheers -- Sjoerd

On Mar 3, 12:59 pm, ratull... at gmail.com wrote:
> Grettings All
>
> I'm running this command
> Play[Piecewise[{{4.000000000*x^2 - 4.000000000*x,
>     0 = x <= 1}, {-2*x^2 + 8*x - 6, 1 = x <= 3}, {x^2 - 10*x =
+ 21,
>     3 = x <= 7}, {-1/2*x^2 + 11*x - 105/2,
>     7 = x <= 15}, {.5714285714*x^2 - 21.14285714*x + 188.5714286,
>     15 = x <= 22}, {-.8000000000*x^2 + 39.20000000*x - 475.200000=
0,
>     22 = x <= 27}}], {x, 0, 27}]
>
> and it's taking extremely long and would like to find out how long it
> takes to run this line.  Also if anyone has a more efficient way of
> using this command please let me know.  I'm just trying to output the
> wave file to an audio file.
>
> Aloha
> sal2

```

• Prev by Date: Re: Head logic
• Next by Date: Re: Design choice for Printout Screen Environment
• Previous by thread: Re: Looking to time how long a command takes in mathematica 6 tia
• Next by thread: Re: Looking to time how long a command takes in mathematica 6 tia