Cody

Problem 42268. Create a square matrix of zeros of even order

Solution 2968903

Submitted on 19 Sep 2020 by Benjamin
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
x = 2; y = zeros(2); assert(isequal(zero(x),y))

2   Pass
x = 4; y = zeros(4); assert(isequal(zero(x),y))

Suggested Problems

More from this Author8

Community Treasure Hunt

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

Start Hunting!