Amrut Umrankar
Followers: 0 Following: 0
Feeds
已回答
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid. If any of the inputs is not
function valid = valid_date(year, month, day) if ~isscalar(year) || ~isscalar(month) || ~isscalar(day) || year ~=fix(year) || m...
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid. If any of the inputs is not
function valid = valid_date(year, month, day) if ~isscalar(year) || ~isscalar(month) || ~isscalar(day) || year ~=fix(year) || m...
4 years 前 | 0