Inserting numbers into a vector
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a vector similar to [-3 -2 -1 1 2 3] and I would like to add a zero in the center so the new vector would be [-3 -2 -1 0 1 2 3] but I am unsure of how to do this.
0 Kommentare
Akzeptierte Antwort
Brett Shoelson
am 10 Feb. 2011
Michael, See if you can figure it out from this response:
Post back if you still have difficulties.
Cheers,
Brett
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!