Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


Vector problem 1

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


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

5 years ago

Solved


add vectors

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


basic syntax

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Solved


find the answer

5 years ago

Solved


find

5 years ago

Solved


find

5 years ago

Load more