Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply 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 each off-diagonal element replaced by minus the absolute value of the largest element in absolute value in its row...

Tags

Problem Group

Solution Statistics

22 correct solutions 23 incorrect solutions
Last solution submitted on Jun 26, 2014