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.

8 Ansichten (letzte 30 Tage)
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.

Antworten (0)

Kategorien

Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by