How can I Stimulation sequence

4 visualizzazioni (ultimi 30 giorni)
nazmican
nazmican il 18 Dic 2022
Commentato: Varun il 23 Feb 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 Commenti
nazmican
nazmican il 18 Dic 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 il 23 Feb 2023
Hello! Can you please share where exactly are you facing the issue?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by