![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/21585130_1613845160658_DEF.jpg)
Ravleen Kaur
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 (isscalar(year) && (year>=1) && year==fix(year)) && (isscalar(month) && ((1<=mon...
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 (isscalar(year) && (year>=1) && year==fix(year)) && (isscalar(month) && ((1<=mon...
대략 2년 전 | 0