Re: Automation Problem



In article <4b0b2e47-bddc-4e95-82e0-d2982c903b73@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Joerg J. Buchholz <jjbuchholz@xxxxxxxxx> wrote:
a1 = [1 2]
a2 = [3 4]

a = []

for i = 1 : 2

eval (['a = [a,a', num2str(i), ']'])

end

Not a recommended answer; see the other thread from the same author
with the same title for alternative answers.

--
"The quirks and arbitrariness we observe force us to the
conclusion that ours is not the only universe." -- Walter Kistler
.



Relevant Pages


Loading