creating a row vector

6 views (last 30 days)
Samuel Yuen
Samuel Yuen on 10 Oct 2019
Answered: Stephan on 10 Oct 2019
How do i create a row vector that have five elemenets that are all fives, using the colon symbol?

Answers (1)

Stephan
Stephan on 10 Oct 2019
A(1:5) = 5

Categories

Find more on Symbolic Math Toolbox 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!