how to obtain a table by for loop

1 view (last 30 days)
i'm using a for loop to calculate some value where the output was repeated in a row arrangement like a=[WBT W fay h v]; when i use (uitable), i get the table contain the final value of (a) in for loop, how can i get a table contain all rows in the same figure ?

Accepted Answer

Image Analyst
Image Analyst on 6 Apr 2015
You need to make the a variable a 2 dimensional matrix. Since your table only contains the last values of a, that indicates that a is a 1-D row vector, not a 2D array.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!