Divisors of an integer
Given a number N, return a vector V of all integers that divide N.
For example,
N = 10
Then
V=[1 2 5 10]
5 years ago
Solved
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
...
5 years ago
Solved
Number of divisors of a given number
Given a Number n, return the number of his divisors without listing them
example:
n=14
; Divisors={1,7,2,14} ; y=4
n=...
5 years ago
Solved
Determinant without using det()
Given a square matrix A, compute the <http://en.wikipedia.org/wiki/Determinant determinant> of A.
Note that you may not use t...
5 years ago
Solved
Multiplication
Multiply two numbers in a different manner.
The numbers are given to you as vectors x and y.
Example
x = [ 1 2 0 1 ]
...
5 years ago
Solved
Negative without '-'
Simple: return a negative number without using the '-' sign.
Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...