How can I Stimulation sequence

3 visualizaciones (últimos 30 días)
nazmican
nazmican el 18 de Dic. de 2022
Comentada: Varun el 23 de Feb. de 2023
% find the length of the filter h and assign to hLen
hLen=
% create a time vector t_h to plot the time of the filter h using the
% sampling period and the number of points in filter
t_h=
% plot the stimulus filter sequence h with respect to time t_h using stem()
stem()
%Title the graphics title('Stimulus filter sequence ')
%title();
%label the x and y axis as time(s) and amplitude(µA)
%xlabel();
%ylabel();
  2 comentarios
nazmican
nazmican el 18 de Dic. de 2022
I try this;
load('VEPdata1.mat');
Fs=2000;%Sampling frequency
Ts=1/Fs;%Sampling period
t=0:Ts:10;
plot(t);
title('10s of EEG data');
xlabel('time(s)');
ylabel('amplitude(microA)');
hLen=1;
t_h=0:Ts:1
stem(t_h);
title('Stimulus filter sequence');
xlabel('time(s)');
ylabel('amplitude(microA)');
Nr=hLen;
Varun
Varun el 23 de Feb. de 2023
Hello! Can you please share where exactly are you facing the issue?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by