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

Solution 416799

Submitted on 12 Mar 2014
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   Fail
%% tic; N=10^6; x=rand(1,N); y=Aye(N); assert(numel(y)==N*N) assert(isequal(x*y,x)) assert(toc<2)

Error: Undefined function 'Aye' for input arguments of type 'double'.