How I can export matlab figure data to excel
2 次查看(过去 30 天)
显示 更早的评论
How I can export matlab figure data to excel file.
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!