help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timing a function


From: Victor Carreto
Subject: Re: timing a function
Date: Sun, 5 Dec 2010 00:27:51 -0200

great, 

just one more quick question. how mucho is 1e+02 seconds?



On Sun, Dec 5, 2010 at 12:02 AM, Ben Abbott <address@hidden> wrote:
On Dec 4, 2010, at 8:43 PM, Victor Carreto Pavon wrote:

> Is there a way to know how much time a function takes to return an
> answer? Do I have to do it manually like until now, or is there a way
> to have it print on screen as part of the answer.
>
> Thank you
>
> vic./


You can use "tic", "toc" to do that.

       tic; your_function(...); toc

Ben




--
Victor Carreto
----------------------------------
Skype: MSN: Gtalk: address@hidden
tel (Brasil): (+55) 48.38.79.82.84
cel(Brasil): (+55) 48.99.72.95.77
----------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]