Number of even divisors of a given number
Given a Number n, return the number of its even divisors without listing them.
example:
n=14 ; EvenDivisors={2,14} ; y=2
...
2 meses ago
Solved
Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum.
Example:
v = [1 2 3 4 5]
Ou...
Orthogonal lines
Check whether two given lines are orthogonal or not.
Two lines are orthogonal if they create a right angle at their intersect...
2 meses ago
Solved
Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?
2 meses ago
Solved
Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...
2 meses ago
Solved
Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.