Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
can I abbreviationv these steps to few steps?
조회 수: 1 (최근 30일)
이전 댓글 표시
v_now=zeros(111,34);
v_now(1,2:33)=100;
v_now(6,14:21)=100;
v_now(5,2:5)=0;
v_now(5,30:33)=;
댓글 수: 5
Walter Roberson
2013년 10월 5일
You could remove the v_now(5,2:5)=0; as those locations were already set to 0 because you used zeros() to initialize the matrix.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!