extraction of some elements in a column vector

1 回表示 (過去 30 日間)
Dawud Adam Rabiu
Dawud Adam Rabiu 2021 年 11 月 10 日
コメント済み: Cris LaPierre 2021 年 11 月 11 日
x = [1:10]'
how do i extract the 1st, 3rd and 6xth element in the column vector.
  2 件のコメント
dpb
dpb 2021 年 11 月 10 日
y=x([1 3 6]);
Read Getting Started section on addressing in the documentation...
Cris LaPierre
Cris LaPierre 2021 年 11 月 11 日
Or go through Ch 5 of MATLAB Onramp.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by