Akshatha Gangappa
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
Write a function called holiday that takes two input arguments called month and day; both are scalar integers representing a month (1-12) and a day (1-31). You do not need to check that the input is valid. The function returns a logical true if the s
function [v] = holiday(m,d) if (( m==1 && d ==1) || (m==7 && d ==4) || (m==12 && d ==25)||(m ==12 && d== 31)) v = true; ...
Write a function called holiday that takes two input arguments called month and day; both are scalar integers representing a month (1-12) and a day (1-31). You do not need to check that the input is valid. The function returns a logical true if the s
function [v] = holiday(m,d) if (( m==1 && d ==1) || (m==7 && d ==4) || (m==12 && d ==25)||(m ==12 && d== 31)) v = true; ...
6 years 前 | 0