compare and combine matrix
Info
This question is closed. Reopen it to edit or answer.
Show older comments
A=[2 7 9 7;3 1 5 6;8 1 2 5]
Use abs statement to filter elements > 2 of matrix A into the matrix
C=[0 7 9 7;3 0 5 6;8 0 0 5]
Answers (1)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!