Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1508. Change the sign

Created by Claudio Gelmi

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...


Problem Group

Solution Statistics

29 correct solutions 40 incorrect solutions
Last solution submitted on Feb 13, 2016

Problem Comments