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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started