Wednesday 16 May 2012
On 10:57 by Unknown in matlab tutorial No comments
Convolution Methods & Coding
Convolution is the process of multiplying two or more signals in time domain. Theoretically it is difficult to don convolution in time domain. for that we goes to frequency domain. because in frequency domain just multiply both convoled signals
y[n]= summation (with upper and lower limits of infinity){x[k]h[n-k]}
>> XMIN = -10; % Define the Initial Point of X-axis
>> XMAX = 25; % Define the Ending Point of X-axis
>> YMIN = 0; % Define the initial Point of Y-axis
>> YMAX = 6; % Define the Ending Point of X-axis
>> axis_size = [XMIN, XMAX, YMIN, YMAX];
>> % generate two input signals
>> xn1 = [0 0 0 1 1 0 1 0 1 0 1 0 0 0 0 0];
>> xn2 = [0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0];
>> % generate indices for the input and output signals
>> n = -4:11; % Limits of First Signal X1[n]
>> m = -8:22; % Limits of Second Signal X2[n]
>> % convolve two signals
>> yn = conv(xn1,xn1);
>> grid on % grid on meanz the grid view in the figure
>> subplot(3, 1, 1);
>> stem(n, xn1,'filled', 'r'), axis(axis_size), ylabel ('xn1'), grid;
>> title ('First Signal')
>> subplot (3, 1, 2);
>> stem(n, xn2, 'filled', 'r'),axis(axis_size), ylabel ('xn2'), grid;
>> title ('Second Signal')
>> subplot (3, 1, 3);
>>stem(m,yn,'filled','b'),axis(axis_size),xlabel('yn=xn1*xn2'), grid;
>> title ('Result of Convolution');
The Result of this Program is Shown below. try to run it in matlab.
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
Here in this post I discuss about how to connect MATLAB? And taking images from Webcam? So first of all we need a videobject of the web...
-
Erlang C table is attached in this post with up to 45 number of channels, and more GOS probability values. This will help you to solve Erla...
-
Erlang B table is attached in this post with up to 115 number of channels, and more GOS probability values. This will help you to solve Erl...
-
Mini Advanced Encryption Standard (Mini-AES): A Testbed for Cryptanalysis Students Raphael Chung-Wei Phan ADDRESS: Swin...
-
Example Mini-AES Encryption The application of the four components NibbleSub , ShiftRow , MixColumn and KeyAddition in sequence con...
-
Telecommunication & Networking is the emerging technologies now a days. In fast these both fields are distinguish from each other. Tel...
-
Signals, FFT & IFFT In Matlab we can draw different types of signal. Also do different operations on that signal in time, freque...
-
Programming Methodologies Two popular approaches to programming design are the structured approach and the object-oriented approach, whi...
-
کیا فائدہ اٹا این سٹا این کا A column by Wasat Ullah Khan, discuss about the world universities ranking. there are 7 Pakistani Universities...
-
Matlab Basic Part 2 In the first Part We See Some Basic of Matlab. now in the Part 2we will see some advanced functions and methods of...
Categories
- Advanced Wireless Networks (26)
- Wireless Networks (21)
- Data and Network Security (20)
- Digital Logic Design (7)
- matlab tutorial (5)
- C Programing (3)
- Research Papers (2)
Editorial
- Javed Chaudhry (21)
- PANAMA Leaks (18)
- Wasat Ullah Khan (11)
- Abdul Qadir Hassan (10)
- PAK-America Relationship (7)
- Ali Ahmad Dhalo (6)
- Muqtada Mansoor (6)
- Asghar Abdullah (4)
- Dr. Abdul Qadeer Khan (4)
- PAK-India Relationship (4)
- Aftab Iqbal (2)
- Ayaz Ameer (2)
- Doctor Atta Ur Rehman (2)
- PAK-Afghan Relationship (2)
- PAK-Chaina Relationship (2)
- PAK-Iran Relationship (2)
- Anees Baqir (1)
Sample Text
Blog Archive
My Traffic
Powered by Blogger.
0 comments:
Post a Comment