フィルターのクリア

how to mention picoseconds unit of time.

3 ビュー (過去 30 日間)
Vijender
Vijender 2013 年 10 月 18 日
回答済み: Walter Roberson 2013 年 10 月 18 日
Is there any to direct way write picosecond unit in matlab instead of 1e-12.

回答 (2 件)

ES
ES 2013 年 10 月 18 日
編集済み: ES 2013 年 10 月 18 日
Do you mean this?
ps='*1e-12';
eval(['30',ps])%30 picoseconds
ans =
3.0000e-011
  2 件のコメント
Vijender
Vijender 2013 年 10 月 18 日
nops i want to know is there any direct syntx for defining picoseconds unit in matlab. I know by default its second.
Vijender
Vijender 2013 年 10 月 18 日
Actually if i write your method or directly write 1e-12 then in long format it matlab give 9.9999999999999999999e-11 instead of 1e-12

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


Walter Roberson
Walter Roberson 2013 年 10 月 18 日
MATLAB does not have any default time unit. Individual routines have time units. Routines that deal with dates use number of days and fraction of days; routines that deal with pausing or waiting use seconds (and those routines are not able to get picosecond resolution.)
If you were to give more context, we might be able to make a suggestion.

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by