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 日

0 投票

その他の回答 (1 件)

Benjamin Avants
Benjamin Avants 2014 年 5 月 13 日

0 投票

samples = z(1:7)

カテゴリ

ヘルプ センター および File ExchangeResizing and Reshaping Matrices についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 5 月 13 日

編集済み:

2014 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by