how to select the sample

2 views (last 30 days)
Tinkul
Tinkul on 13 May 2014
Edited: Azzi Abdelmalek on 13 May 2014
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....

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 13 May 2014
Edited: Azzi Abdelmalek on 13 May 2014

More Answers (1)

Benjamin Avants
Benjamin Avants on 13 May 2014
samples = z(1:7)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by