Using load() Command for Two Columns

12 visualizaciones (últimos 30 días)
Anthony Bartsch
Anthony Bartsch el 24 de Abr. de 2020
Respondida: Geoff Hayes el 24 de Abr. de 2020
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?

Respuestas (1)

Geoff Hayes
Geoff Hayes el 24 de Abr. de 2020
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.

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by