Create Variables with a for loop

Hi
I need to be able to run this following code:
Vx(1)=[0,0,12]
Vx(2)=[12,1,1,1,]
Etc
I need Vx to be a vector but with different number of element.
( I can write Vx1 Vx2 etc but I have 1000 elements and it is tedious, the inputs are entered from a different subroutine so I am hoping to be able to do it with a for loop)
Can this be done?
Thanks
Shani

回答(2 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

提问:

2012-2-25

Community Treasure Hunt

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

Start Hunting!

Translated by