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 visualizaciones (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by