Menu

Please Need Help Matlab Please Help Thankyou Write Matlab Code Plot 2d Sinc Function 2d Q43843830

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

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

The base script is the script that when executed, calls thefunctions written for each part of the assignment in sequence andproduces all the figures in the assignment (namedFigure_Question1_1.png, Figure_Question1_2.png etc.). ProgramMATLAB to also save the images as jpg/png files directly fromMATLAB print(gcf,’-dpng’,[savefilename ‘.png’]); into a subfolder.Please make sure that the input figures are read in with referenceto the location of the base script automatically and these inputscan be hardcoded in the base-script but not inside functions thatyou write. The particular functions you write should be generic andable to accept any inputs, so they can be called repeatedly fromthe base-script and passed the necessary information/images.

Expert Answer


Answer to Please I need help with MATLAB .. PLease help me . Thankyou Write Matlab code to plot a 2D sinc function over a 2D carte…

OR