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 views (last 30 days)
Show older comments
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.
Answers (0)
See Also
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!