Risolto


How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

oltre 5 anni fa

Risolto


Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...

oltre 5 anni fa

Risolto


Median computation (★★★)
See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

oltre 5 anni fa

Risolto


How many points lie within the rectangle and how many aren't?
Suppose, you are given the coordinates of bottom-left and top-right corners of a rectangle as *input-1, R* i.e *R=[Bottom-left c...

oltre 5 anni fa

Risolto


Vector problem 1

oltre 5 anni fa

Risolto


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

oltre 5 anni fa

Risolto


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

oltre 5 anni fa

Risolto


Magnitude of a vector (★★★)
Given a vector x with values [ x1, x2, x3, ..., xn ], compute the magnitude (or length) of the vector which is given by <<htt...

oltre 5 anni fa

Risolto


add vectors

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


basic syntax

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find the answer

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Risolto


find

oltre 5 anni fa

Carica altro