Using load() Command for Two Columns

12 次查看(过去 30 天)
How to use load() command to load an -ascii file that contains two columns of numbers?
In addition, what would this -ascii file look like in terms of code? Like, could someone help me code the -ascii file with random (or arbituary) numbers in the two columns?

回答(1 个)

Geoff Hayes
Geoff Hayes 2020-4-24
Anthony - from load, If filename is an ASCII file, then load(filename) creates a double-precision array containing data from the file. See the Load ASCII File example for details on createing the file and loading it.

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by