Community Profile

# Steven Van Vaerenbergh

### University of Cantabria

Last seen: 8달 전 2014년부터 활동

Postdoctoral researcher in machine learning for signal processing.

All

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

5년 이하 전

문제를 풀었습니다

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer whi...

약 5년 전

문제를 풀었습니다

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

약 5년 전

문제를 풀었습니다

Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

약 5년 전

문제를 풀었습니다

Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

약 5년 전

문제를 풀었습니다

Van Eck's Sequence's nth member
Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

약 5년 전

문제를 풀었습니다

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

약 5년 전

문제를 풀었습니다

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

약 5년 전

문제를 풀었습니다

Calculate the sum of two numbers. Example input = [2 3] output = 5

약 5년 전

문제를 풀었습니다

Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

약 6년 전

문제를 풀었습니다

Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

약 6년 전

문제를 풀었습니다

Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

약 6년 전

문제를 풀었습니다

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

약 6년 전

문제를 풀었습니다

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

약 6년 전

문제를 풀었습니다

Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

약 6년 전

문제를 풀었습니다

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

약 6년 전

문제를 풀었습니다

Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

약 6년 전

문제를 풀었습니다

Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

약 6년 전

문제를 풀었습니다

Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

약 6년 전

문제를 풀었습니다

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

약 6년 전

문제를 풀었습니다

QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

약 6년 전

문제를 풀었습니다

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

약 6년 전

문제를 풀었습니다

Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

약 6년 전

문제를 풀었습니다

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

약 6년 전

문제를 풀었습니다

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

약 6년 전

문제를 풀었습니다

surface of a spherical planet
you just discovered its circumference, that is the input.

약 6년 전

문제를 풀었습니다

Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

약 6년 전

문제를 풀었습니다

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

약 6년 전

문제를 풀었습니다

Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

약 6년 전

문제를 풀었습니다

Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

약 6년 전