Question: Please I need help with MATLAB .. PLease help me . Thankyou Write Matlab code to plot a 2D sinc function over a 2D cartesian

Please I need help with MATLAB .. PLease help me . Thankyou

Write Matlab code to plot a 2D sinc function over a 2D cartesian grid where x ranges from 100 to 355 and y ranges from 0 to 255 and the sinc is centered at somewhere not midway in the grid. First plot the grid, and then plot the function on the grid (both as grayscale and as a surface plot). Comment the code well, generate the figures and show your code in your report along with the figures. Please it should be a a MATLAB base-script.

The base script is the script that when executed, calls the functions written for each part of the assignment in sequence and produces all the figures in the assignment (named Figure_Question1_1.png, Figure_Question1_2.png etc.). Program MATLAB to also save the images as jpg/png files directly from MATLAB print(gcf,'-dpng',[savefilename '.png']); into a subfolder. Please make sure that the input figures are read in with reference to the location of the base script automatically and these inputs can be hardcoded in the base-script but not inside functions that you write. The particular functions you write should be generic and able to accept any inputs, so they can be called repeatedly from the base-script and passed the necessary information/images.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!