필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

can I abbreviationv these steps to few steps?

조회 수: 1 (최근 30일)
Mary Jon
Mary Jon 2013년 10월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Mary Jon
Mary Jon 2013년 10월 4일
ok
Walter Roberson
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!

Translated by