|
|
| File Information |
| Description |
This program to perform convolution has been written keeping the ordinary polynomial multiplication in mind and in my opinion is the most easily understood program among the ones I have seen on the web or written by other fellow workers although it may not be the best program in its design. The user may get help upon usage by typing help masconv at the command prompt.
When the user gives the program two vectors (sequences) to be convolved, the program first initialize a temporary matrix of size having number of rows according to the length of the first vector and number of columns one less than the length of both the vectors (as it is required for the convolution sum to have this much length) using the zeroscammand. The program then make use of two for loops to replace the zero values in the temporary matrix at desirable places by simple multiplication of the members of the two vectors. Once the temporary matrix is completed, the program then use the sum command of Matlab to find the final convolution sum and displays the result.
The user can compare the results of this program with the built-in function conv. Any suggestions or criticisms are welcome. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 26 May 2006 |
Imran Zaka
|
|
|
| 29 May 2006 |
Rashid Saleem
|
|
|
| 30 May 2006 |
Muhammad Saeed
|
|
|
| 30 May 2006 |
John D'Errico
|
|
|
| 09 Feb 2007 |
Ashar Ahmad
|
|
|
| 15 Feb 2007 |
salman rashid
|
|
|
| 14 Jun 2007 |
sreenivas Puthiya Veettil
|
|
|
|
Contact us at files@mathworks.com