필터 지우기
필터 지우기

how to insert zeros in a certain column of only one row.

조회 수: 2 (최근 30일)
md mayeen uddin
md mayeen uddin 2021년 7월 6일
편집: md mayeen uddin 2021년 7월 6일
i have a vector of A =1x201
i want to insert zeros from column 116 to 170.
Any help will be appriciateable

채택된 답변

Akshit Bagde
Akshit Bagde 2021년 7월 6일
You can do this
A = ones(1,210);
A(116:170) = 0;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by