Create a Matrix of Zeros - MATLAB Cody - MATLAB Central

Problem 42346. Create a Matrix of Zeros

Difficulty:Rate

Given an input x, create a square matrix y of zeros with x rows and x columns.

Solution Stats

85.41% Correct | 14.59% Incorrect
Last Solution submitted on Jun 05, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers622

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

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

Start Hunting!