문제

Is it somehow possible to get signal data from figure, to save the vector or matrix of the data to the Workspace?

We happend to make a lots of measurements on a real system in school, but ve saved only figures of the measutrement and now we need to use some of the signals from the figure and use them in another figure for comparison.

도움이 되었습니까?

해결책

You can load the figure in Matlab and go to View->Properties, to pull the data out of the plot's properties e.g. for a line graph plot:

enter image description here

You can get at the XData and YData properties and copy/paste the values of out it e.g.

enter image description here

Alternatively, as I had to do once when this method failed, you can save the figure as EPS/postscript and try to pull the data out of the postscript file in a text editor (!)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top