Info
This question is closed. Reopen it to edit or answer.
which two members from s vector restricted a random number
1 view (last 30 days)
Show older comments
Hi all,
I have a vector like s=[200 278 434 590 746 903 1059 1215 1371 1450]. I want to determine which two members from s vector restricted a random number like b=300 ? for example 300 is between 278 and 434.
How can I write such program?
thanks in advance,
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!