Question: I need help completing these two questions (1) Write a function isdivby4 that will receive an integer input argument and will return logical 1 for
I need help completing these two questions
(1)
Write a function isdivby4 that will receive an integer input argument and will return logical 1 for true if the input argument is divisible by 4, or logical false if it is not.
(2)
Write a function vecout that will receive one integer argument and will return a vector that increments from the value of the input argument to its value plus 5, using the colon operator. For example,
>> vecout(4) ans = 4 5 6 7 8 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
