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?

 Respuesta aceptada

Star Strider
Star Strider el 14 de Mayo de 2021

0 votos

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

3 comentarios

Dhimitri Cekrezi
Dhimitri Cekrezi el 14 de Mayo de 2021
Thank you!!!!
Star Strider
Star Strider el 14 de Mayo de 2021
My pleasure!
Star Strider
Star Strider el 14 de Mayo de 2021
If my Answer helped you solve your problem, please Accept it!
.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Mayo de 2021

Comentada:

el 14 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by