Feeds
提问
Write a function count_odd that takes two arguments: low_bound and high_bound. The function counts how many odd values are there between the low_bound and the high_bound. Last it returns the number of odd numbers between these two values.
Here is what I have. All help is appreciated. function count_odd(low_bound, high_bound) % promt user to enter low_bound ...
8 years 前 | 1 个回答 | 0
1
个回答提问
1- Write a MATLAB function that returns the number of entries in a vector whose value exceeds 10 and the number of entries whose values are less than 2. The function takes the vector as an argument in the function. Test your function on vector [11,12
Here is what I have so far for it: function output=vector(n) % promt user to enter vector. n=input('Enter an array of numbe...
8 years 前 | 1 个回答 | 0

