How to add a value beginning of an array?

776 visualizaciones (últimos 30 días)
Ali Deniz
Ali Deniz el 9 de Nov. de 2021
Comentada: Stephen23 el 15 de Dic. de 2023
y25=[1.875000000000000,3.046875000026040]
How can I add 0 (zero) to the beginning of this array?
I want to get the array y25=[0,1.875000000000000,3.046875000026040]
Thank You.
  1 comentario
Stephen23
Stephen23 el 15 de Dic. de 2023
Open question: is there a neat approach irrespective of the vector orientation?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 9 de Nov. de 2021
Editada: Image Analyst el 13 de Dic. de 2023
y25 = [0, y25];
To learn other fundamental concepts, invest 2 hours of your time here:

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by