Choosing Elements from a Vector.
Show older comments
Hello,
Lets say I have a Vector A = [0 1 2 3 4 5 6 7 8 9] , i want to choose the number 5 for example and 2 elements after that.
So my vektor B would look like this B = [5 6 7].
How can i do this?
Thank you in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Matrices and Arrays 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!