Feeds
已提交
Huffman Coding
This function provides the Huffman coding given a vector of probabilities. The probabilities can be any unsorted 1D matrix of nu...
8 years 前 | 105 次下载 |
已解决
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
8 years 前
已解决
James Bond film count
Twenty-three James Bond films have been produced, in the years 1962, 1963, 1964, 1965, 1967, 1969, 1971, 1973, ... 197...
8 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8 years 前
已解决
Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...
8 years 前


