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 commentsGroup

BMEG309
- 10 Problems
- 45 Finishers
- Find the sum of all the numbers of the input vector
- Select every other element of a vector
- Arrange Vector in descending order
- Get the length of a given vector
- Flip the vector from right to left
- Whether the input is vector?
- Bullseye Matrix
- Determine if input is odd
- Draw a '0' in a one matrix!
- Tell me the slope
Problem Recent Solvers1653
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!