How do I table a variable with multiple values?
Afficher commentaires plus anciens
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?
1 commentaire
Chesus
le 31 Août 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
