Time vector for seismic plot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cielo Martos
am 15 Dez. 2020
Kommentiert: Cielo Martos
am 15 Dez. 2020
How do I create a time vector? Im supposed to create a time vector so that I can plot a seismogram
my sampling frequency is 40 Hz a
the sample interval in in a file called sachdr.delta
it starts at 0 seconds
I just don't understand how to include all of these parameters in to make the time vector work. I am going to plot this time vector as the x variable is and the amplitdue (y variable) is called utahz.
4 Kommentare
Hakan Sagir
am 15 Dez. 2020
1/40 = 0.025 already,
if you try to get the vector,
your code is like this ts = 0:0.250:0.0250
it already gives you the vector ts = [0 0.0250] only 2 variables
you have something wrong in your data or you get it wrong maybe :)
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Seismology finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!