03 - Matrix Variables 2 - MATLAB Cody - MATLAB Central

Problem 1798. 03 - Matrix Variables 2

Difficulty:Rate

Make the following variable:

A 9x9 matrix of zeros, but with the following values on the main diagonal:

(Hint: use diag)

Solution Stats

64.14% Correct | 35.86% Incorrect
Last Solution submitted on Feb 05, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
5

Problem Recent Solvers595

Suggested Problems

More from this Author26

Community Treasure Hunt

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

Start Hunting!
Go to top of page