How to do convolution of data using rectangular filters of fixed bandpass?
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have data (attached) which contains wave length and corresponding intensity. I need to do convolution using two rectangular filters (one centered at 665 nm and an other at 669 nm). I went through the link (https://se.mathworks.com/matlabcentral/answers/351357-how-to-apply-gaussian-filter-to-imported-data-two-columns-x-and-y) and https://se.mathworks.com/matlabcentral/answers/260322-convolving-experimental-data-with-a-function but I could n't make it.
Can any one help !! Thank you.. The graph below is plotted using
a30=importdata('wn52n.txt');
bar(a30(:,1),a30(:,2));hold on;
bar(a30(:,9),a30(:,10));hold on;
bar(a30(:,17),a30(:,18));hold on;
bar(a30(:,19),a30(:,20));hold on;
bar(a30(:,27),a30(:,28));hold on;
bar(a30(:,35),a30(:,36));hold on;
bar(a30(:,45),a30(:,46));hold on;
bar(a30(:,53),a30(:,54));hold on;
xlabel('wave length (nm)')
ylabel('intensity (arb. unit)')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/215666/image.png)
1 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!