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 1820. 07 - Common functions and indexing 5

Created by Samuel Thrys√łe

Create the vector lin:

(the integers from 1 to 20)

Make every other value in it negative to get:


Problem Group

Solution Statistics

113 correct solutions 29 incorrect solutions
Last solution submitted on Oct 12, 2015