test = [ 0 1 2 3 4 5 ]


1.

a(a~=2);


2.

a(3)=[];


3.

a( [ 1 : 2, 4 : end ] );

'Mechanical Engineering > Matlab' 카테고리의 다른 글

Data exporting format  (0) 2015.11.09
Predefined Symbols in MATLAB  (0) 2014.01.08
General Purpose Commands  (0) 2014.01.08
Fundamental MATLAB Classes  (0) 2013.04.06
Chebyshev polynomials Tn  (1) 2013.04.06
Posted by Jay♬
,