ASsign Array element

1 visualización (últimos 30 días)
Mate 2u
Mate 2u el 10 de Feb. de 2011
Hi there I accidentally accepted my answer beforehand. I have an array of size 1x360214 and to each element I want to assign a value of 440. Please give me the quickest way to do this. I need this array to plot with a time series I already have of 360214 share prices.

Respuesta aceptada

Vieniava
Vieniava el 10 de Feb. de 2011
MyVec=440*ones(1,360214);
  1 comentario
Mate 2u
Mate 2u el 10 de Feb. de 2011
Thank you :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays 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