extraction of some elements in a column vector
1 回表示 (過去 30 日間)
古いコメントを表示
x = [1:10]'
how do i extract the 1st, 3rd and 6xth element in the column vector.
2 件のコメント
dpb
2021 年 11 月 10 日
y=x([1 3 6]);
Read Getting Started section on addressing in the documentation...
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!