Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

7 years ago

Solved


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

7 years ago

Solved


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

7 years ago

Solved


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

7 years ago

Solved


what is the mass of a 50 N object
what is the mass of a 50 N object

7 years ago

Solved


convert the given mass in grams to kilo grams
convert the given mass in grams to kilo grams

7 years ago

Solved


convert 10 minutes to seconds
1 minute has 60 seconds

7 years ago

Solved


convert 60 seconds to one minute
1 minute and 60 seconds

7 years ago

Solved


output a 1
output a 1

7 years ago

Solved


make the number a multiple of 5
multiply by 5

7 years ago

Solved


make the number a negative even number
make the number a negative even number

7 years ago

Solved


add 7
+7

7 years ago

Solved


find the distance if the car is going at a speed of 20 m/s in 10 seconds
find the distance if the car is going at a speed of 20 m/s in 10 seconds

7 years ago

Solved


add 5 and divide by 10
add 5 and divide by 10

7 years ago

Solved


what is the speed of the car if the car travelled 10m in 5 seconds
what is the speed of the car if the car travelled 10m in 5 seconds

7 years ago

Solved


add 4
add 4

7 years ago

Solved


what is sin of 0
what is sin of 0

7 years ago

Solved


what is sin of 0
what is sin of 0

7 years ago

Solved


what is the weight of a 5 kg mass
what is the weight of a 5 kg mass

7 years ago

Solved


what is the cosine of pi
what is the cosine of pi

7 years ago

Solved


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

7 years ago

Solved


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

7 years ago

Solved


03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

7 years ago

Solved


give nth decimal place of pi
max 15th place after the decimal point is ok for now

7 years ago

Solved


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

7 years ago

Solved


Even or Odd
Write a function witch can give us an answer if this a value given x is odd or even, if x is even return true and if x is odd re...

7 years ago

Problem


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

7 years ago | 2 | 87 solvers

Solved


Sum the elements in either diagonal of a square matrix
Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal.

7 years ago

Solved


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

7 years ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

7 years ago

Load more