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
-
The Hitchhiker's Guide to MATLAB
3324 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1196 Solvers
-
586 Solvers
-
Find out sum of all elements of given Matrix
507 Solvers
-
find the surface area of a cube
536 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!