How to separate 2 columns from a structure in MATLAB and save it into different variables(as a Matrix)
5 次查看(过去 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 中查找有关 Analyze Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!