MATLAB--时间函数
2008-11-13 22:51
|
% Time and dates.时间个日期
% % Current date and time.当前时间和日期 % now 当前日期时间数字- Current date and time as date number. % date 当前日期字符串- Current date as date string. % clock 当前时间日期向量- Current date and time as date vector. % % Basic functions.基本函数 % datenum 日期序列- Serial date number. % datestr 日期的字符表示- String representation of date. % datevec 日期组成- Date components. % % Date functions.日期函数 % calendar 日历- Calendar. % weekday 星期几- Day of week. % eomday 月末- End of month. % datetick - Date formatted tick labels. % % Timing functions.定时函数 % cputime CPU用时- CPU time in seconds. % tic 开启跑表- Start stopwatch timer. % toc 停止跑表- Stop stopwatch timer. % etime 共计用时- Elapsed time. % pause 暂停- Wait in seconds. % Utility functions效用函数. % datenummx - Mex function for core of datenum. % datevecmx - Mex function for core of datevec |
本文介绍了MATLAB中用于处理日期和时间的相关函数,包括如何获取当前时间、转换日期字符串以及进行时间计算等基本操作。
5202

被折叠的 条评论
为什么被折叠?



