How to convert all data from text file into a single column?
Afficher commentaires plus anciens
I am trying to analyze an earthquake signal. For which, I need to plot the acceleration time history. I have obtained earthquake data in the excel sheet as attached in the excel file. The first eight data in a row are the data for increasing time. Next acceleration is the second row. How can I convert the data into a single column so that I can correlate the data with time?
Réponse acceptée
Plus de réponses (1)
Achyut Paudel
le 16 Juil 2018
0 votes
4 commentaires
Achyut Paudel
le 16 Juil 2018
That's exactly what the original code does...did you not try it???
>> EQ(1:16)
ans =
0.1580
-0.3040
0.0480
0.1780
0.0970
0.1620
0.1060
0.1550
0.1110
0.1550
-0.2960
-0.3810
0.0960
0.1340
0.1440
0.1090
>>
Achyut Paudel
le 16 Juil 2018
dpb
le 16 Juil 2018
You're welcome; my wondering what the rest of the data are/were in the initial response may have concealed the result...
Catégories
En savoir plus sur Earthquake Engineering dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!