How I can export matlab figure data to excel

조회 수: 1 (최근 30일)
Sharad Patel
Sharad Patel 2017년 4월 18일
답변: TS 2017년 4월 18일
How I can export matlab figure data to excel file.

답변 (1개)

TS
TS 2017년 4월 18일
Just use the handle for the plot command
x=0:0.1:2*pi;
y=sin(x);
h=plot(x,y);
h.XData;
h.YData;
In this example h.XData is obv. equal to the data provided by x. For excel export refere to: https://de.mathworks.com/help/matlab/ref/xlswrite.html

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by