How to show full column of data?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Bacha Munir
le 27 Fév 2023
Commenté : Image Analyst
le 27 Fév 2023
Hello. I ran the code like x=0:0.0001:0.8; and y=linspace(2,3,length(x));. After running I cannot see the transposed full column of data for "x or y" in the commond window. Please explain me why and how can I show it?. Thanks.
0 commentaires
Réponse acceptée
Image Analyst
le 27 Fév 2023
Leave off the semicolons. They are row vectors. To make them column vectors use the apostrophe.
x=0:0.0001:0.8
y=linspace(2,3,length(x))
x=x'
y=y'
6 commentaires
Image Analyst
le 27 Fév 2023
For things that long, I just look at the variable in the workspace. Double click on the variable in the workspace panel to bring it up in the "Variables" panel which is like a spreadsheet.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!