MATLAB: How does this matlab function works matlab function Could someone please explain how this function works in defining the matrices For example, B=zeros(size(A,1),1); C=eye(size(A)); Best Answer doc sizedoc zerosdoc eyeYou can also try an example>> A=[1 2 3;4 5 6]B=zeros(size(A,1),1)C=eye(size(A))A = 1 2 3 4 5 6B = 0 0C = 1 0 0 0 1 0 Related SolutionsMATLAB: How to change part of a matrix into zero n1=ceil(0.1*size(A,1));A(1:n1,:)=0 MATLAB: How to set a range in a matrix to zero A([1:3-1 5+1:end]) = 0 Related QuestionHow linear fir algorithm worksIs there any function for adding zero ? related toa other matrixHow Jackknife sampling worksAdding zeros to a matrix to match the dimensions of two matrices.
Best Answer