matlab: - ylche21.files.wordpress.com file · web viewmatlab: >>sptool new. design fir....
TRANSCRIPT
![Page 1: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/1.jpg)
Matlab:>>SPTOOL
New
![Page 2: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/2.jpg)
Design FIRResponse type: Bandpass
Astop means attenuation gain,
The coefficient of the filter can be seen from analysisfilter coefficient
![Page 3: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/3.jpg)
Export the filter data
For convolution:If the coefficient of filter is a(1), a(2), a(2),and signal is bThen
%%convolutionfor i=3:length(b)+6newsignal(i)=a(1)*b(i)+a(2)*b(i-1)+a(3)*b(i-2);end
newsignal(1)=a(1)*b(1);newsignal(2)=a(1)*b(2)+a(2)*b(1);
![Page 4: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/4.jpg)
%%so newsignal is the new signal
After the filter which we have designed
For the go
Left
![Page 5: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/5.jpg)
Right
To get this, what I do isImport the signal from the workspace(import fuction under the file of the SPTOOL)Go1 left1 and right1 is the signal get from the wavread(‘***.wav’)
![Page 6: Matlab: - ylche21.files.wordpress.com file · Web viewMatlab: >>SPTOOL New. Design FIR. Response type: Bandpass. Astop means attenuation gain, The coefficient of the filter can be](https://reader035.vdocuments.mx/reader035/viewer/2022062911/5c5e439209d3f2dc638bf54a/html5/thumbnails/6.jpg)
Select right filter and imput signal ,Click the apply, then u can name the output signal, then view it