テキストファイルにある値を区別したい
Show older comments
N-Value P,S-Velocity Density
(m/s) (g/cm^3)
----------------------------------------------------------------------------------
1m 2 360 78 1.80
2m 13 360 78 1.68
3m 14 360 130 1.72
4m 4 360 130 1.71
5m 2 1600 130 1.68
6m 5 1600 130 1.71
7m 13 1600 130 1.88
8m 6 1600 130 1.89
9m 7 1600 130 1.90
10m 22 1600 130 1.90
11m 27 1600 200 1.89
12m 24 1600 200 1.87
13m 17 1600 200 1.87
14m 12 1600 200 1.86
15m 11 1600 200 1.85
16m 20 1600 200 1.89
17m 29 1600 200 1.90
18m 26 1600 200 1.92
19m 24 1600 200 1.82
20m 26 1600 200 1.85
これがテキストファイルにあるデータです.(This is data of text file.)
はじめに1mの上は空白になっているが深さ(depth)のヘッダー,N-Valueは N 値のヘッダー、P-Velocity (m/s)はP波速度のヘッダー、S-Velocity (m/s)はS波のヘッダー、Density (g/cm^3)は密度のヘッダー、値は深さ,N値、P波速度、S波速度、密度の値でそれらをヘッダーに合わせ一つ一つ分類したいです。
最適なコードがわからないのでご享受ください.
2 Comments
Dyuman Joshi
on 22 Nov 2023
Could you please share the text file? Use the paperclip button to attach.
拳志朗
on 22 Nov 2023
Accepted Answer
More Answers (0)
Categories
Find more on Language Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!