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!