2. Vector variables. Make the following variables
a. qVec = [[3.14, 15, 9, 26]] BVec = [[271] [8] [28] [182]] b.
d. dVec=[10^ 10^ 0.01 10^ 0.99 10^ 1 ] (Logarithmically spaced numbers between 1
and 10, use logspace, make sure you get the length right!)
e. eVec=Hello(eVec is a string, which is a vector of characters)
C. c Vec=[ matrix 5&4.8&-4. matrix -5] (all the numbers from 5 to -5 in increments of -0.2)
Comments
Leave a comment