![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/22930996_1624835752137_DEF.jpg)
Martín Avalos Postigo
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.
function valid = valid_date(year,month,day) if sum(rem([year,month,day],1))==0 && sum([year,month,day]>0)==3 if ismember(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.
function valid = valid_date(year,month,day) if sum(rem([year,month,day],1))==0 && sum([year,month,day]>0)==3 if ismember(m...
대략 3년 전 | 4