table in for loop
Show older comments
Hi friends, how can I create multiple tables named as T1, T2, T3, ... and T(n) in a for loop.
for j=1:n
x=rand(5,1);
y=rand(5,1);
T(j)=table(x,y)
end;
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!