Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

3 years ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

3 years ago

Solved


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

3 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

3 years ago

Solved


PEMDAS test (★★)
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

3 years ago

Solved


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

3 years ago

Solved


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

3 years ago

Solved


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

3 years ago

Solved


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

3 years ago

Solved


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

3 years ago

Solved


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

3 years ago

Solved


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

3 years ago

Solved


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

3 years ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

3 years ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

3 years ago

Solved


divide by 5

3 years ago

Solved


imaginary results
Return the value of the imaginary number i to the power of input argument n.

3 years ago

Solved


Find Logic 30

3 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

3 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

3 years ago

Solved


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

3 years ago

Solved


Find Logic 24

3 years ago

Solved


Find Logic 28

3 years ago

Solved


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

3 years ago

Solved


cube of number
find cube of number

3 years ago

Solved


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

3 years ago

Solved


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

3 years ago

Solved


BULLSEYE Part 2: Reference Problem 18 BULLSEYE
Given n (always odd), return output a that has concentric rings of the 1s and 0s around the center point. Examples: Input ...

3 years ago

Solved


Select every other element of a vector (★★)
(copy of prob 6) Write a function which returns every other element of the vector passed in. That is, it returns the all odd-...

3 years ago

Load more