How can I Stimulation sequence

조회 수: 13 (최근 30일)
nazmican
nazmican 2022년 12월 18일
댓글: Varun 2023년 2월 23일
% 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
nazmican
nazmican 2022년 12월 18일
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 2023년 2월 23일
Hello! Can you please share where exactly are you facing the issue?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by