how to truncate an array containing 500 elements?
21 views (last 30 days)
Show older comments
I only need 100th to 500th elements.how to avoid the first 100 elements?
ASAP...................
0 Comments
Answers (1)
Azzi Abdelmalek
on 12 Aug 2015
Edited: Azzi Abdelmalek
on 12 Aug 2015
A=rand(1,500) % example
A(101:end)
0 Comments
See Also
Categories
Find more on Resizing and Reshaping Matrices 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!