A model of the surface EMG signal is created by filtering a white gaussian noise, using a shaping filter H(f). this filter has low cut-off freq=60hz and high cut-off freq=120hz. this is my code but i don't know how to deal with Undefined function 'designfilt' for input arguments of type 'char'.
clear all; subplot(322); load nnoise.m; plot(nnoise,'k'); % design shaping filter bpFilt = designfilt('bandpassfir',... 'CutoffFrequency1',60,'CutoffFrequency2',120, ... 'SampleRate',2000); subplot(323); W = filter(bpFilt,nnoise); plot(W,'k');title ('EMG');
ANSWER
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
If you have an earlier version of the Signal Processing Toolbox, this filter will work, since all the functions were introduced prior to R2006a: Fs = 2000;
notch_frq = [50 60 120 130];
mags = [0 1 0];
devs = [0.05 0.01 0.05];
[n,Wn,beta,ftype] = kaiserord(notch_frq,mags,devs,Fs);
n = n + rem(n,2);
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
Fs = 2000; notch_frq = [50 60 120 130]; mags = [0 1 0]; devs = [0.05 0.01 0.05]; [n,Wn,beta,ftype] = kaiserord(notch_frq,mags,devs,Fs); n = n + rem(n,2);
Comments
Post a Comment