How would I use a single command to create a row vector Q with nine elements where the last four elements are all 9 while the rest of elements are 0. Do not type the vector elements explicitly.

2 ビュー (過去 30 日間)
How would I use a single command to create a row vector Q with nine elements where the last four elements are all 9 while the rest of elements are 0. Do not type the vector elements explicitly.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by