Solved

Select primes from the matrix.
Select primes from the matrix.

1 día ago

Solved

Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

1 día ago

Solved

Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

1 día ago

Solved

Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

1 día ago

Solved

Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

1 día ago

Solved

find the index of a number

1 día ago

Solved

Values in Array
How many values are in the array

1 día ago

Solved

Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

1 día ago

Solved

Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

1 día ago

Solved

Box
Give the volume of a box, x is equal to the body diagonal.

1 día ago

Solved

Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

1 día ago

Solved

Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

5 días ago

Solved

Find Logic 17

5 días ago

Solved

Simple sum 1

5 días ago

Solved

Find Logic 14

5 días ago

Solved

Find Logic 13

5 días ago

Solved

Find Logic 11

5 días ago

Solved

Find Logic 12

5 días ago

Solved

Find Logic 1

5 días ago

Solved

Find Logic 3

5 días ago

Solved

Find Logic 4

5 días ago

Solved

Find Logic 7

5 días ago

Solved

Find Logic 9

5 días ago

Solved

Find Logic 6

5 días ago

Solved

Find Logic 8

5 días ago

Solved

Find Logic 16

5 días ago

Solved

Find Logic 10

5 días ago