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
Problem Comments
-
8 Comments
Show
5 older comments
Celestino
on 10 Mar 2014
I agree whith everybody
James
on 17 Mar 2014
Test suite contains the solution. Poor.
Jafar Mortadha
on 3 Aug 2018
I have noticed that problem statements from AMITAVA BISWAS are so vague, stupid, meaningless, and unclear. I don't know why he creates problems if he doesn't want to invest some time to come up with something meaningful and clear.
Solution Comments
Show commentsProblem Recent Solvers1647
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
455 Solvers
-
1411 Solvers
-
Relative ratio of "1" in binary number
1454 Solvers
-
Back to Basics - Find no. of elements in a matrix?
312 Solvers
-
2026 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!