How to show full column of data?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2023-2-27
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 个评论
Image Analyst
2023-2-27
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!