Create a vector from the population data using the following
Create a vector from the population data using the following format: variable name: [type vector elements] Create a row vector from the population data. Create a column vector from the population data Transpose the vector in c.
Solution
>> Year = 1984:2:1996
Year =
1984 1986 1988 1990 1992 1994 1996
>> Population = [ 127 130 136 145 158 178 211]
Population =
127 130 136 145 158 178 211
>> Population = [ 127 130 136 145 158 178 211]\'
Population =
127
130
136
145
158
178
211
>> c = transpose(Population)
c =
127 130 136 145 158 178 211
![Create a vector from the population data using the following format: variable name: [type vector elements] Create a row vector from the population data. Create Create a vector from the population data using the following format: variable name: [type vector elements] Create a row vector from the population data. Create](/WebImages/25/create-a-vector-from-the-population-data-using-the-following-1065483-1761557270-0.webp)