compare and combine matrix

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]

回答(1 个)

Nguyen kien
Nguyen kien 2018-11-11

0 个投票

Use abs to fliter element of matrix

此问题已关闭。

提问:

2018-11-11

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by