How to show full column of data?
4 views (last 30 days)
Show older comments
Bacha Munir
on 27 Feb 2023
Commented: Image Analyst
on 27 Feb 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 Comments
Accepted Answer
Image Analyst
on 27 Feb 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 Comments
Image Analyst
on 27 Feb 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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!