photo

Paul


Last seen: 1 year 前 自 2023 起处于活动状态

Followers: 0   Following: 0

统计学

  • Explorer
  • First Review
  • First Answer

查看徽章

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.
function valid = valid_date(y,m,d); if ~isscalar(y)||~isscalar(m)||~isscalar(d)||y~=fix(y)||m~=fix(m)||d~=fix(d); valid = ...

1 year 前 | 0

已回答
Write a function three positive integer scalar inputs year, month, day.
function valid = valid_date(y,m,d); if ~isscalar(y)||~isscalar(m)||~isscalar(d)||y~=fix(y)||m~=fix(m)||d~=fix(d); valid = ...

1 year 前 | 0