Question: Which command will create a 10-element vector v with values from 1 to 10?

  1. v = {1:10}
  2. v = [1-10]
  3. v = 1:10
  4. v = (10)

Answer: The correct answer of the above question is Option C:v = 1:10