필터 지우기
필터 지우기

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 CenterFile Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by