how to obtain some data from this figure
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
kanan
el 31 de En. de 2016
Comentada: Star Strider
el 1 de Feb. de 2016
I do not have good experience in matlab and want to know how can I extract features from the attached figure and create feature vector. I have the data and I plot them as shown in the figure. My experiment is to extract gait signal from a person walking style.
I appreciate your help thank you
2 comentarios
Star Strider
el 31 de En. de 2016
Do you have an actual figure .fig file of it, or only the .jpg you posted? With a .fig it’s fairly straightforward. With a .jpg, it’s very much less so.
Respuesta aceptada
Star Strider
el 1 de Feb. de 2016
Here you go:
F = openfig('gait.normal.fig');
L = findobj(gca, 'Type', 'line');
XD = get(L, 'XData');
YD = get(L, 'YData');
The ‘XD’ and ‘YD’ are the ‘x’ and ‘y’ data from the plot, respectively. They are both (1x3371) vectors.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Object Properties en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!