how do i write a function that has two 3×3 input matrices and in output it gives new matrix that contains the rows of the input that has the least sum .I.e. a=[1 2 3;2 3 4; 3 4 5] and b=[1 2 3;2 3 4; 3 4 5] then print c=[1 2 3;1 2 3] . I have the logic in my head but i can't code it in matlab since i have only 1 lesson on it. Thanks
MATLAB: Newbie help for matlab
MATLABmatlab function
Related Question
- How to delete rows in a matrix where two numbers exist side-by-side
- Hello, can any one help me out? I have an mxn matrix with repeated columns. How to get another matrix from this very one which is having no repetition of columns. Many thanks for anticipated assistance.
- Extract the Maximum Column elements of every Row
- Algorithm which swaps the columns of a matrix A mx(n*2) without looping
Best Answer