Presentation of results -- table
Show older comments
Say I have a loop that something like:
for n=1:10,
var1(n)=var1(n-1)+5
var2(n)=2*var1(n)
var3=... so on
end
I want to print the values of var1,2,3 from every iteration and present them in a table. How might I do that?
Thank you.
Accepted Answer
More Answers (1)
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!