MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayReturn a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v, where the nth element of a row can take on the values 1:v(n).

56 correct solutions
38 incorrect solutions

Last solution submitted on Apr 22, 2016

1 player likes this problem

1 Comment

Matt Eicholtz
on 17 Jan 2015

Not a great solution, but the test suite needs to be improved.

1 Comment

Alfonso Nieto-Castanon
on 19 Feb 2012

try count_to_v([2,2])...

2 Comments