Q:

Using the colon operator and the transpose operator, create a column vector myvec that has the values -1 to 1 in steps of 0.5

0

 Using the colon operator and the transpose operator, create a column vector myvec that has the values -1 to 1 in steps of 0.5.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> rowVec = -1: 0.5: 1; >> rowVec' ans = -1.0000 -0.5000 0 0.5000 1.0000

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now