I am using tic/toc functions, the output I got values like 2,103 I expected to have a value within the range of milliseconds since I am measuring the RT. What does that value mean? Thanks in advance!
Best Answer
The documentation says it returns time in seconds.
I only ever use tic toc for an approximate idea of time though and usually relative some other implementation rather than as an absolute value.
timeit
is usually more accurate if you want to measure how long a function takes though.
According the the documentation, yes. (I’ve not tried it myself, either.) I did useclock andetime when I ran simulations that ran all night, and they accumulated accurately over several hours, so if you have any doubts, use them.
You can get the days-hours-minutes-seconds using the regular date functions:
Because the axes is getting "full" - not quite sure how else to describe it. Put the command "cla" before the call to imellipse and you'll see the times stay short no matter how many times you call it.
Best Answer