Borrar filtros
Borrar filtros

How I can export matlab figure data to excel

4 visualizaciones (últimos 30 días)
Sharad Patel
Sharad Patel el 18 de Abr. de 2017
Respondida: TS el 18 de Abr. de 2017
How I can export matlab figure data to excel file.

Respuestas (1)

TS
TS el 18 de Abr. de 2017
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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by