Effacer les filtres
Effacer les filtres

Trouble plotting data in table

3 vues (au cours des 30 derniers jours)
TOK
TOK le 3 Sep 2021
Commenté : Star Strider le 4 Sep 2021
Hi, I am trying to plot my one dimensional arrays into a table, however instead of getting data, I am getting [1x12 double] instead of my 12 data points. How can I get the data to appear instead of the [1x12 double]? My problem is identical to one presented here:

Réponse acceptée

Star Strider
Star Strider le 3 Sep 2021
How can I get the data to appear instead of the [1x12 double]?’
The ‘[1 x 12 double]’ is a row vector by definition.
For best results, table arrays work best with column vectors.
Transpose it to a column vector and the table should be happy (so long as the other variables are then also (12x1) column vectors).
.
  2 commentaires
TOK
TOK le 3 Sep 2021
Transposing my data worked, thanks for the prompt answer!
Star Strider
Star Strider le 4 Sep 2021
As always, my pleasure!
.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by