Inserting numbers into a vector

3 visualizaciones (últimos 30 días)
Michael Joslin
Michael Joslin el 10 de Feb. de 2011
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.

Respuesta aceptada

Brett Shoelson
Brett Shoelson el 10 de Feb. de 2011
Michael, See if you can figure it out from this response:
Post back if you still have difficulties.
Cheers,
Brett

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by