how to mention picoseconds unit of time.
Show older comments
Is there any to direct way write picosecond unit in matlab instead of 1e-12.
Answers (2)
Do you mean this?
ps='*1e-12';
eval(['30',ps])%30 picoseconds
ans =
3.0000e-011
Walter Roberson
on 18 Oct 2013
0 votes
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.
Categories
Find more on Financial Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!