How I can export matlab figure data to excel

4 ビュー (過去 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 Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by