signal manually analysis matlab
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
f interest to analyse not specific values.
1 commentaire
Abderrahim. B
le 13 Juil 2022
Modifié(e) : Abderrahim. B
le 13 Juil 2022
Share more detilas.
Are you trying to extract a region of interest (ROI)t from EMG signal ? Do you know limits (end time and start time) of the ROI ?
Réponses (1)
Abderrahim. B
le 13 Juil 2022
% Some dummy data
emg_signal = [-10*ones(4000,1) ; -500*ones(8000,1); -15*ones(6000,1) ] ;
% emcg_signal = 1rand()
figure
plot(emg_signal, "LineWidth", 2)
% ROI emg
roi_t = 4000:8000 ;
emg_roi = emg_signal(roi_t) ;
% Some spectral analysis of ROI emg
pspectrum(emg_roi)
2 commentaires
Abderrahim. B
le 14 Juil 2022
Use input then . Copy, past and run this code in your MATLAB. input function will not run here (it is not supported).
clear ;
close all ;
% Some dummy data
emg_signal = [-10*ones(4000,1) ; -500*ones(8000,1); -15*ones(6000,1) ] ;
% emcg_signal = 1rand()
plot(emg_signal, "Color", 'k')
title("EMCG Signal")
% ROI emcg
roi_t = input("Enter ROI as row vector (e.g 4000:8000): ") ;
emg_roi = emg_signal(roi_t) ;
% Some spectral analysis of ROI emg
figure
pspectrum(emg_roi)
title("EMG ROI Spectrum ")
Voir également
Catégories
En savoir plus sur Spectral Measurements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!