how to select the sample
    7 views (last 30 days)
  
       Show older comments
    
Suppose i have a matrix:
z=[1;2;3;4;5;6;1;9;10;32;21]
from the above matrix how can i select first 7 sample? Please help....
0 Comments
Accepted Answer
  Azzi Abdelmalek
      
      
 on 13 May 2014
        
      Edited: Azzi Abdelmalek
      
      
 on 13 May 2014
  
      z=[1;2;3;4;5;6;1;9;10;32;21]
z(1:7)
0 Comments
More Answers (1)
See Also
Categories
				Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

