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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x.

Example

L = 5

The resulting answer is:

[1:10; 1:10; 1:10; 1:10; 1:10]

61 correct solutions
19 incorrect solutions

Last solution submitted on Apr 11, 2015

1 player likes this solution

1 Comment