mbdatevec.m

来自「This contribution provides functions for」· M 代码 · 共 16 行

M
16
字号
function vec = mbdatevec(n)
%MBDATEVEC  Return date vector for time in format as of function MBTIME.
%		VEC = MBDATEVEC(N) returns the date vector VEC for the time N as 
%		returned by function MBTIME (serial date number converted to seconds).
%
%		Example:
%		time = mbtime;
%		vec = mbdatevec(time);
%
%		Markus Buehren
%		Last modified 21.04.2008 
%
%		See also MBTIME, DATEVEC.

vec = datevec(n/86400);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?