How can I copy two rows
이전 댓글 표시
Let, A=[1 3 5;8 2 9;0 6 1] how to get B=[1 3 5;8 2 9]
답변 (1개)
B = A(1:2,:) ;
or
B = A([1,2],:) ;
카테고리
도움말 센터 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!