How to separate 2 columns from a structure in MATLAB and save it into different variables(as a Matrix)
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi and have a great time
I have some timetables as it appears in the picture and each timetable can be a structure.
I have 4 columns but I want to load the second column as X values and the transpose of 3rd columns as Y values and then plot X in terms of Y
How can I do it ? (I don't know how to separate the columns of a timetable)
Thanks for your answers
Atefeh
댓글 수: 9
Stephen23
2023년 7월 25일
"I have some timetables as it appears in the picture and each timetable can be a structure."
No, what you have are clearly TIMESERIES objects:
S = load('output.mat')
A = S.Id_6
D = get(A,'Data')
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Preprocess Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!