【发布时间】:2016-11-18 22:50:21
【问题描述】:
我需要用 matlab 绘制一些轨迹,我在文件 .txt 中有每个点的坐标,我使用 c++ 我想用 Matlab 绘制这些轨迹以进行一些比较,这是文件的示例包含坐标:
515 // this is x
317 // this is y
0 // i dont want to import this variable
511 // this is x
328 // this is y
20 // i dont want to import this variable
508
353
40
511
... etc
Matlab中有一个函数可以帮助我只导入x和y吗?
文件:
172
489
54460
283
469
54480
388
428
54500
476
384
54520
555
350
54540
635
325
54560
700
286
54580
760
250
54600
811
222
54620
840
192
54640
856
171
54660
871
175
54680
890
181
54700
930
170
54720
979
168
54740
【问题讨论】:
标签: matlab