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!