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