Hello everyone,
I have been given a file data0.txt which has the following info:
x0 y0 z0 f0
10 10 10 225
How can I import the data so that the header line (x0 y0 z0 f0) is ignored and the numeric data below are imported as a matrix?

 채택된 답변

Star Strider
Star Strider 2021년 5월 14일

0 개 추천

There are several ways to do this, likely the easiest is to use the readmatrix function (introduced in R2019a).

댓글 수: 3

Dhimitri Cekrezi
Dhimitri Cekrezi 2021년 5월 14일
Thank you!!!!
Star Strider
Star Strider 2021년 5월 14일
My pleasure!
Star Strider
Star Strider 2021년 5월 14일
If my Answer helped you solve your problem, please Accept it!
.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

질문:

2021년 5월 14일

댓글:

2021년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by