Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


convert 10 minutes to seconds
1 minute has 60 seconds

quasi 7 anni fa

Risolto


convert 60 seconds to one minute
1 minute and 60 seconds

quasi 7 anni fa

Risolto


output a 1
output a 1

quasi 7 anni fa

Risolto


make the number a multiple of 5
multiply by 5

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


add 7
+7

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


add 4
add 4

quasi 7 anni fa

Risolto


what is sin of 0
what is sin of 0

quasi 7 anni fa

Risolto


what is sin of 0
what is sin of 0

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Problema


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

quasi 7 anni fa | 2 | 88 risolutori

Risolto


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.

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

Carica altro