Creating Row Vector and Column Vector
Objective: %program to create row and column vector in matlab %creating a row vector with elements from 1 to 5 rv = [1:5]; %creating a column vector with elements from 1 to 5 cv = [1;2;3;4;5];
Objective: %program to create row and column vector in matlab %creating a row vector with elements from 1 to 5 rv = [1:5]; %creating a column vector with elements from 1 to 5 cv = [1;2;3;4;5];