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

Example input:

 x = [10 2];

Solution Stats

2772 Solutions

1812 Solvers

Last Solution submitted on Feb 03, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers1812

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!