フィルターのクリア

can matlab handle data with microsecond precision and if not how to convert time to microseconds

21 ビュー (過去 30 日間)
I am working with data that needs to be in microseconds.
How to do that in Matlab.

採用された回答

the cyclist
the cyclist 2016 年 1 月 13 日
Your question is quite general, so only a general answer is possible. Yes, MATLAB has multiple ways of using dates and times and data types, and microsecond precision is typically possible. See this page about dates and times in MATLAB, for example.
  4 件のコメント
PTP
PTP 2016 年 1 月 14 日
can R2014b handle precision in microseconds? and how can i achieve this. Some Commands will be really helpful.
Walter Roberson
Walter Roberson 2016 年 1 月 15 日
R2014b and later support datetime objects, which extend the precision with which times can be stored.
For dates close to the present, eps(now) returns about 1e-10; multiply that by 24*60*60 to find that the precision that times can be represented at present with serial date numbers is about 1E-5 seconds, or roughly the 10 microsecond range.
The new datetime objects have up to nanosecond resolution

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

その他の回答 (1 件)

the cyclist
the cyclist 2016 年 1 月 13 日
This page about PTP in Simulink came up in a google search. Maybe it is a good place for you to start. (Disclaimer: I have no personal knowledge about PTP or its implementation.)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by