Matlab举着提取索引行的内容。
이전 댓글 표시
我想提取矩阵a的特定行,行号的索引我用 id矩阵 表示出来,可是一直在提示我符号书写错误,一直报错,我检查了都是英文书写也没有中文,麻烦大佬帮我看看是怎么回事
a=[1,2,3;
4,5,6;
7,8,9;
10,11,12;
13,14,15;
16,17,18];id=[1;2;5];b=(id,:);

답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!