Rank: 5385 based on 1 downloads (last 30 days) and 1 file submitted
photo

Mahmood Sheikh

E-mail
Company/University
Center for Advanced Studies in Engineering

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Mahmood
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 May 2006 masconv The most easily understood program of convolution Author: Mahmood Sheikh dsp, convolution, easy, polynomial multiplica..., signal processing 1 3
  • 4.57143
4.6 | 7 ratings
Comments and Ratings on Mahmood's Files View all
Updated File Comment by Comments Rating
14 Jun 2007 masconv The most easily understood program of convolution Author: Mahmood Sheikh Puthiya Veettil, sreenivas
15 Feb 2007 masconv The most easily understood program of convolution Author: Mahmood Sheikh rashid, salman

 This code is purely for expository purposes, as conv will be preferred always. As a conv tutorial, this does show nicely the basic idea of how one might write a convolution, except one should not (in practice) generate the entire table first, and THEN do the sum. This will be an inefficient and unnecessary use of memory. I can forgive inefficiency for expository purposes, as long as the reader is made aware of the difference. As such, a few comments to that effect would possibly increase my rating.

09 Feb 2007 masconv The most easily understood program of convolution Author: Mahmood Sheikh Ahmad, Ashar
30 May 2006 masconv The most easily understood program of convolution Author: Mahmood Sheikh D'Errico, John

This code is purely for expository purposes, as conv will be preferred always. As a conv tutorial, this does show nicely the basic idea of how one might write a convolution, except one should not (in practice) generate the entire table first, and THEN do the sum. This will be an inefficient and unnecessary use of memory. I can forgive inefficiency for expository purposes, as long as the reader is made aware of the difference. As such, a few comments to that effect would possibly increase my rating.

It might also be of interest to show the reader a more
efficient version. In some quick tests, with length(a) = 1000 and length(b) = 100, the version below is 8x faster, but with comments it should be as understandable as the doubly looped version.

na = length(a);
nb = length(b);
b=b(:);
result = zeros(na+nb-1,1);
for m = 1:na
  result(m:(m+nb-1)) = result(m:(m+nb-1)) + a(m)*b;
end

30 May 2006 masconv The most easily understood program of convolution Author: Mahmood Sheikh Saeed, Muhammad
Top Tags Applied by Mahmood
convolution, dsp, easy, polynomial multiplication, signal processing
Files Tagged by Mahmood
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 May 2006 masconv The most easily understood program of convolution Author: Mahmood Sheikh dsp, convolution, easy, polynomial multiplica..., signal processing 1 3
  • 4.57143
4.6 | 7 ratings

Contact us at files@mathworks.com