Plot graph didnt showing up
Afficher commentaires plus anciens
clear
load 'strain_constant_t2 (15000 data).dat' %t2_data,dat is the data file in the ASCII format
strain_constant_t2
pause
%time series parameters
x=strain_constant_t2;
N=15000; %sampling points at 15000
fs=500; %sampling frequency at 500hz
T=1/fs;
ts=N/fs;
t=ts/N:ts/N:ts;
plot(t,x);
ylabel('Amplitude [microstrain]');
xlabel('Time [seconds]');
this code didnt show any error. somehow it still not showing up the plot graph after i run it.
2 commentaires
VBBV
le 7 Août 2023
can you share the data file?
Mohamad Hanafi Md Rasol
le 7 Août 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
