MATLAB 如何生成等时间序列
s_time = [2017 1 1 12 00 00]; % YYYY MM DD hh mm ss
f_time = [2017 1 1 12 10 00];
inter_t = 5;
% s
% 将时间间隔转换成一天中的所占比例
dt = inter_t/3600/24;
t0 = datetime(s_time);
ts = datetime(f_time);
t = t0:dt:ts;
datestr(t)
最后
以上就是温暖洋葱最近收集整理的关于MATLAB 如何生成等时间序列的全部内容,更多相关MATLAB内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复