Using load() Command for Two Columns

조회 수: 12 (최근 30일)
Anthony Bartsch
Anthony Bartsch 2020년 4월 24일
답변: Geoff Hayes 2020년 4월 24일
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