how to select the sample

3 次查看(过去 30 天)
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....

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-5-13
编辑:Azzi Abdelmalek 2014-5-13

更多回答(1 个)

Benjamin Avants
Benjamin Avants 2014-5-13
samples = z(1:7)

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by