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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

Example input:

x = [10 2];

566 correct solutions
212 incorrect solutions

Last solution submitted on Jun 24, 2015

4 players like this problem

7 Comments