Vector of numbers divisible by 3 * Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...
0<=x<=pi? Check whether the given angle is between zero and pi. Return logical true or false.
1 year ago
Solved
vectorization in N For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.
1 year ago
Solved
Matlab Basics II - Max & Index of Max Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...
1 year ago
Solved
Area of a circle Given the radius x, y would be the area of a circle. Pi = 3.1416
Factorize THIS, buddy List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
1 year ago
Solved
Increment a number, given its digits Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...