How to do convolution of data using rectangular filters of fixed bandpass?
3 views (last 30 days)
Show older comments
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 Comment
Answers (0)
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!