Hi everyone I have matrices 3*3 A= [1 2 3; 4 5 6; 7 8 9] and B=zeros(3,3) I want to choose one element in each row, for example if i choose A(1,1), the matrice of B(1,1) change its value to 1,
MATLAB: Select one element in each row but not the same column
Related Question
- Summing the row of a matrix that meet a condition from another matrix
- Somone can help me with unique and find function
- Filter a matrix based on the data of each row
- How to combine two matrices
- How can i compare the elements of two matrices A(m*5) and B(n*5) in each row and see if they match
- How to invert parts of a matrix
- How to do this matrix
- How to use exp for plot
Best Answer