How to create an image based on mathematical equation?

6 views (last 30 days)
Hi,
I need to obtain an image from the following mathematical equation. As I am new at MATLAB, I would really appreciate your help.
The equation is shown in the attached image.

Answers (1)

Image Analyst
Image Analyst on 28 Nov 2017
rows = 480; % Whatever you want.
columns = 640;
I = ones(rows, columns);
I(:, columns/2) = 0;
imshow(I, []);
x=0 is in the middle of the image, at column 319.5
  4 Comments
lucifer
lucifer on 28 Nov 2017
I uploaded a copy of the problem of my assignment. Could you please check it then, and tell me how can I approach it? Because as I understood, I'd have to find the PSF of the image.. Thanks in advance!
Image Analyst
Image Analyst on 29 Nov 2017
The edge response is related to the PSF. You should have gone over that in class. See this for some background http://www.dspguide.com/ch25/1.htm or google it.

Sign in to comment.

Categories

Find more on Images 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!