Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to read values from an input file containing two different columns ? The values are shown below in the main body.

1 次查看(过去 30 天)
3
26 -1000000.000
60 2000000.000
128 1000000.000

回答(1 个)

madhan ravi
madhan ravi 2018-11-30
编辑:madhan ravi 2018-11-30
a=load('sample.txt')
or
a=importdata('sample.txt')

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by