Professional Documents
Culture Documents
College of Engineering Electrical Engineering Department
College of Engineering Electrical Engineering Department
EE301– Homework #2
Signals and Systems Analysis
Submitted by
Date: 28/5/2022
The first one I plot it depending on this code d = conv2(f,g,'same'); the convolution was directly
Figure 1 : f*g
Figure 2 : Result
Q2:
In this Question first, we convert the image to a frequency domain by using fft2();
After that, we do the multiplication because the convolution in the time domain converts to
multiplication in the frequency domain
As we see here figure 4 has a problem I try hard to solve it but I read about the center of the
image so I did not find code for that so I put this with knowledge about some mistake
Figure 4: Result
We can see here we need some code for recentering the image
Q3:
err = immse(time domain , frequency domain);
fprintf('\n The mean-squared error is %0.4f\n', err);
we write this code after we get the perfect result from figure 4