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

3 次查看(过去 30 天)
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?

采纳的回答

KSSV
KSSV 2017-2-9
编辑:KSSV 2017-2-9
You have to use csvwrite. Read about csvwrite

更多回答(1 个)

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by