Cody

Problem 547. Create One Large Eye of size N x N Quickly?

Solution 2140651

Submitted on 25 Feb 2020 by Gatech AE
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
tic; N=10^6; x=rand(1,N); y=Aye(N); assert(numel(y)==N*N) assert(isequal(x*y,x)) assert(toc<2)

Suggested Problems

More from this Author100

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!