Define an array with variable

Hello, I wonder how can I define an array with a variable, for example,
x_i=an array, where i changes. I do not think Matlab allows such operations. How can I accommodate it? Later on I will use x_i in loops.
Thanks.

 采纳的回答

Sean de Wolski
Sean de Wolski 2013-4-29

1 个投票

5 个评论

Sean, sorry, another naive question. :0(
No worries! That's what we're here for :)
And, as a forum, if we prevent just a few people from creating A1, A2,... An, then we've been successful!
Thanks, Sean. Are you working at Mathworks? I use Matlab heavily on computing and I wish I can have opportunity to improve the speed of MATLAB.
Oh, great! Thanks so much!

请先登录,再进行评论。

更多回答(1 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by