채택된 답변

the cyclist
the cyclist 2014년 11월 11일

0 개 추천

M = magic(3);
M(any(M==2,2),:) = []

추가 답변 (1개)

Adam
Adam 2014년 11월 11일

0 개 추천

A = [2 3 4 5; 6 7 8 9; 2 1 1 1; 3 3 3 3];
A( any(A == 2, 2 ),: ) = [];

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2014년 11월 11일

댓글:

2014년 11월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by