MATLAB Answers

creating a row vector

324 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?

  0 Comments

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by