Tell me the slope - MATLAB Cody - MATLAB Central

Problem 123. Tell me the slope

Difficulty:Rate

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

Example input:

 x = [10 2];

Solution Stats

68.76% Correct | 31.24% Incorrect
Last Solution submitted on Jan 04, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers1647

Suggested Problems

More from this Author100

Community Treasure Hunt

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

Start Hunting!
Go to top of page