How do I table a variable with multiple values?
古いコメントを表示
I have a variable with multiple values
x= -10:1:10
and I want to put it in a table, with each value being in one row of the table, but when I introduce the command the following happens:
table(x)

And when I try to use splitvars it creates more variables instead of rows

How can I do so the values of x are displayed on rows?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
