Limit the values of the extreme elements of a vector.
Show older comments
Good Morning. I have this vector:
A=[ 0.0 0.66 1.37 2.17 3.13 3.81 4.54 5.44 6.04 6.66 ]
The elements that make up this vector will be changing progressively, that is, the previous number is smaller than the posterior one. The first element of this vector will always be 0.0 and the last vector element that does not exceed the value of 10.
I hope you help me.
Greetings and thanks.
3 Comments
Stephen23
on 25 Apr 2018
@Ricardo Gutierrez: sure... but what is your question? You did not actually ask us anything.
John D'Errico
on 25 Apr 2018
We have no clue as to what the question is. But Karnak predicts the answer is 42.
Ricardo Gutierrez
on 26 Apr 2018
Accepted Answer
More Answers (1)
Ricardo Gutierrez
on 26 Apr 2018
0 votes
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!