Program to Create Row and Column Vectors
Objective: %Program to Create Row and Column Vectors%close allclear allclc% Creation of a Row Vector %A = [1:10]B = [1 2 3 4 5]% Creation of Column Vector %E = [1;2;3;4;5]C = transpose(A)D = transpose (B)
Objective: %Program to Create Row and Column Vectors%close allclear allclc% Creation of a Row Vector %A = [1:10]B = [1 2 3 4 5]% Creation of Column Vector %E = [1;2;3;4;5]C = transpose(A)D = transpose (B)