ASsign Array element

1 次查看(过去 30 天)
Mate 2u
Mate 2u 2011-2-10
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.

采纳的回答

Vieniava
Vieniava 2011-2-10
MyVec=440*ones(1,360214);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by