Akzeptierte Antwort

the cyclist
the cyclist am 11 Nov. 2014

0 Stimmen

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

Weitere Antworten (1)

Adam
Adam am 11 Nov. 2014

0 Stimmen

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

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 11 Nov. 2014

Kommentiert:

am 11 Nov. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by