www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/TestDurationValuesExample.m
%% Test Duration Values %% % Create a |duration| array. % Copyright 2015 The MathWorks, Inc. d = hours(21:25) + minutes(75) %% % Test the array for elements that are less than or equal to one standard % day. d <= 1