Matlab绘图-读取文件并进行曲线绘制
一、文件读取文件保存成csv,或者txt,逗号分割;res = readtable('/User/xxx/path/file.csv')size = height(res)二、绘制曲线figure(1)plot(res.x1(start_index:end_time),res.y1(start_index:end_time),'r-*','MarkerSize',5)ho...
原创
2020-02-23 10:40:54 ·
3248 阅读 ·
1 评论