How to create .csv file from curve plot as a results of our run?

4 visualizaciones (últimos 30 días)
Hi matlab users,
i got a curve as a results of my running. How can i convert its raw data into .csv? with variable Load as y-axis and displacement as x-axis in it?

Respuesta aceptada

KSSV
KSSV el 9 de Feb. de 2017
Editada: KSSV el 9 de Feb. de 2017
You have to use csvwrite. Read about csvwrite

Más respuestas (1)

José-Luis
José-Luis el 9 de Feb. de 2017
lH = plot(aH,rand(100,1),rand(100,1));
xData = lH.XData;
yData = lH.YData;
csvwrite('dummy.txt',[xData', yData'])

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by