Problem 1508. Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value of the off-diagonal elements in its row...
Solution Stats
Problem Comments
-
2 Comments
Matthew Eicholtz
on 23 Sep 2015
The title and description of this problem could use some tweaking in my opinion. For instance, it should say the largest element in absolute value *of the off-diagonal elements* in its row.
Claudio Gelmi
on 24 Sep 2015
Done. Thanks Matt!
Solution Comments
Show commentsProblem Recent Solvers48
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6663 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2815 Solvers
-
Matrix indexing with two vectors of indices
769 Solvers
-
Basics: 'Find the eigenvalues of given matrix
435 Solvers
-
Simple equation: Annual salary
4251 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!