MATLAB: Help needed plotting a graph graphMATLAB The task is to plot a graph of y=sinx^2 divided by x^2 this is the code i've done but it doesnt produce a graph x=linspace(0,4*pi); y=sin(x).^2/x.^2; plot(x,y) Best Answer You need to use ./, likey=sin(x).^2./x.^2HTH Related SolutionsMATLAB: Need help with 3-D plotting [X, Y] = meshgrid(-2*pi : 0.01 : 2*pi); MATLAB: Graph Hi Armin,you can use datacursor mode.In the callbackfunction you can play with the points (x & y ) received from the callback. If you do need an example leave me a note.Gerd Related QuestionNeed help graphing thisWon’t plot the graphGraph plotting HELP NEEDEDHow to plot this functionGraphing
Best Answer