Data import and Header Line
11 次查看(过去 30 天)
显示 更早的评论
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
2021-5-14
There are several ways to do this, likely the easiest is to use the readmatrix function (introduced in R2019a).
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!