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
-
2162 Solvers
-
Which values occur exactly three times?
5139 Solvers
-
Get the area codes from a list of phone numbers
1062 Solvers
-
Determine if a Given Number is a Triangle Number
383 Solvers
-
Sum of first n positive integers
590 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!