photo

Paul


Last seen: 10 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Explorer
  • First Review
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
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 = ...

environ un an il y a | 0

Réponse apportée
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 = ...

environ un an il y a | 0