已解决


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 ...

9 years 前

已解决


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...

9 years 前

已解决


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...

9 years 前

已解决


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 ...

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


convert 10 minutes to seconds
1 minute has 60 seconds

9 years 前

已解决


convert 60 seconds to one minute
1 minute and 60 seconds

9 years 前

已解决


output a 1
output a 1

9 years 前

已解决


make the number a multiple of 5
multiply by 5

9 years 前

已解决


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

9 years 前

已解决


add 7
+7

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


add 4
add 4

9 years 前

已解决


what is sin of 0
what is sin of 0

9 years 前

已解决


what is sin of 0
what is sin of 0

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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...

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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...

9 years 前

已解决


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...

9 years 前

问题


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...

9 years 前 | 2 | 108 个解题者

已解决


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.

9 years 前

已解决


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 ...

9 years 前

已解决


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 ...

9 years 前

加载更多