How to separate 2 columns from a structure in MATLAB and save it into different variables(as a Matrix)
4 ビュー (過去 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!