How to separate 2 columns from a structure in MATLAB and save it into different variables(as a Matrix)
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Stephen23
le 25 Juil 2023
"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')
Réponses (1)
Voir également
Catégories
En savoir plus sur Preprocess Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!