フィルターのクリア

output tic/toc functions ?

4 ビュー (過去 30 日間)
Fed
Fed 2015 年 3 月 11 日
コメント済み: Fed 2015 年 3 月 11 日
Hello!
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!

採用された回答

Adam
Adam 2015 年 3 月 11 日
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.
  1 件のコメント
Fed
Fed 2015 年 3 月 11 日
Thanks Adam, but I don't want to measure how long a function lasts rather the time elapsing from the presentation of an stimulus and the response of the subject (pressing a button). I am not sure these tic/toc functions are the best solutions. Thanks anyway

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by