change even column values only
이전 댓글 표시
I create 20*20 2D array of all ones. And then I want to change even columns to minus one. How can I change with builtin function?
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!