Problem 42752. Matrix diagonalization
You will be given Two matrices A and B.
Return 1 if B is the diagonal matrix of A, 0 otherwise
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Jean-Marie Sainthillier
on 29 Feb 2016
You shouldn't...
Zikobrelli
on 2 Mar 2016
Jean-Marie, sorry , i dont see what you're referring to/ i dont use isequal, i compare the difference to a tolerance
Zikobrelli
on 2 Mar 2016
*the difference's norm*
Solution Comments
Show commentsProblem Recent Solvers39
Suggested Problems
-
2304 Solvers
-
Find the peak 3n+1 sequence value
2528 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1150 Solvers
-
150 Solvers
-
150 Solvers
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!