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]

Réponses (1)

Nguyen kien
Nguyen kien le 11 Nov 2018

0 votes

Use abs to fliter element of matrix

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by