matlab matrix(1,:) code example
Example: matlab matrix
% To create a matrix in MatLab:
a = [1 2 3; 4 5 6; 7 8 10]
% 1 2 3
% 4 5 6
% 7 8 10
% To create a matrix in MatLab:
a = [1 2 3; 4 5 6; 7 8 10]
% 1 2 3
% 4 5 6
% 7 8 10