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 123. Tell me the slope

Created by AMITAVA BISWAS

Tell me the slope, given a vector with horizontal run first and vertical rise next.

Example input:

 x = [10 2];

Tags

Problem Group

Solution Statistics

419 correct solutions 144 incorrect solutions
Last solution submitted on Apr 18, 2014

Problem Comments