How to measure mouse speed?

2 次查看(过去 30 天)
Amir Baniamerian
Amir Baniamerian 2013-9-11
Hello, I am looking for an object or function that can provide the mouse speed.
p.s. I need to measure the mouse speed in a real-time application. I tried to calculate the speed based on distance divided by time. However, the result is not reliable enough.
  1 个评论
Alexis Pierides
Alexis Pierides 2015-2-17
Hi Amir, How did you measure the mouse distance and time data in matlab? Did you read the raw data or the cursor possition on the screen? If you read the raw data, how did you do it? Thanks

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2013-9-12
If distance divided by time is not reliable enough, there is no way to solve the problem: Speed is defined by distance divided by time.
Please elaborate the actual problems. Show us the code or explain at least the methods you use to determine the distance and the speed. Tell us what level or reliability you want and how you determine problems here.

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by