You will be given Two matrices A and B.

Return 1 if B is the diagonal matrix of A, 0 otherwise

Solution Stats

116 Solutions

39 Solvers

Last Solution submitted on Feb 22, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers39

Suggested Problems

More from this Author12

Problem Tags

Community Treasure Hunt

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

Start Hunting!