How can I Stimulation sequence

14 Ansichten (letzte 30 Tage)
nazmican
nazmican am 18 Dez. 2022
Kommentiert: Varun am 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 Kommentare
nazmican
nazmican am 18 Dez. 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 am 23 Feb. 2023
Hello! Can you please share where exactly are you facing the issue?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by