Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
3
26 -1000000.000
60 2000000.000
128 1000000.000

Answers (1)

madhan ravi
madhan ravi on 30 Nov 2018
Edited: madhan ravi on 30 Nov 2018
a=load('sample.txt')
or
a=importdata('sample.txt')

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!