Programming, Matlab, Function, Basics, Electrical Engineering.
say- XYZ(1,2)=123 — it will create a matrix with 1,2 element as 123 and rest as zeroes. SUB-ARRAY in MAT-LAB— x(1,[2 3]) It will choose first row AND display the elements from second and third column END keyword in MATLAB x(end ,1)- last row & first columns # >> x(:,:) ans = 1 2 3 4 3 4 97 6 4 5 6