Question about column operator vectors
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Andrei Bobrov
am 14 Okt. 2019
Use
vec = -1:-1:-5
or
vec = -(1:5)
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!