Programming, Matlab, Function, Basics, Electrical Engineering.
7 >> x(1:end) ans = 1 3 4 2 4 5 3 97 6 4 6 7 >> x(1,end) ans = 4 >> x(1,:) ans = 1 2 3 4 //combination of matrices >> A1 = [1 2;3 4] A1 = 1 2 3 4 >> A2 = [4 5 6;6 7 8] A2 = 4 5 6 6 7 8 >> [A1 A2] ans = 1 2 4 5 6 3 4 6 7 8 >> [A1 ; A2] Error using vertcat Dimensions of matrices being concatenated