Problem 123. Tell me the slope

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

Example input:

 x = [10 2];

Solution Stats

69.0% Correct | 31.0% Incorrect
Last Solution submitted on Jan 19, 2026

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers1808

Suggested Problems

More from this Author99

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!