필터 지우기
필터 지우기

How can i replace a matrix number with 0

조회 수: 2 (최근 30일)
Light
Light 2013년 6월 7일
A=[-1,1,1;0,-1,0;0,0,-1;1,0,0];
I chose A(1,3) and A(3,3) which is including 1 and -1
And how can i replace them zero

채택된 답변

Iain
Iain 2013년 6월 7일
A(1,3) = 0;
A(3,3) = 0;

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by