Question about column operator vectors
이전 댓글 표시
Why does vec = -1:-5 not output -1 -2 -3 -4 -5? Why does it say 1x0 empty double row vector? An explanation of this would be great. Thank you!
채택된 답변
추가 답변 (1개)
Andrei Bobrov
2019년 10월 14일
Use
vec = -1:-1:-5
or
vec = -(1:5)
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!