MATLAB: How I should plot graph for this function functiongraphplotplottingsimulink I'm having trouble to plot function 'y = (x+(1/x))^2'. I got nothing so far Best Answer syms xy = (x+(1/x))^2fplot(y) Related SolutionsMATLAB: How to expand x axis to have normal plot A(:,1)=data{:,1};A(:,2)=data{:,2};A=sortrows(A,1);plot(A(:,1),A(:,2)) MATLAB: How to plot this graph The below code could be helpful in plotting the graph.load datax=data.Latitude;y=data.CUE;std_dev=std(y); %calculate standard deviationcurve1=y+std_dev; %above curvecurve2=y-std_dev; %below curvex2=[x, fliplr(x)];Middle=[curve1, fliplr(curve2)];fill(x2,Middle,'g'); %plot the shaded area between curveshold on;plot(x,y,'y','LineWidth',2); %plot the mean lineAlso refer the following links:https://www.mathworks.com/matlabcentral/answers/180829-shade-area-between-graphs#answer_169649https://www.mathworks.com/matlabcentral/answers/494515-plot-standard-deviation-as-a-shaded-area?s_tid=answers_rc1-3_p3_Topic Related QuestionHi I’m new to Matlab and was trying to plot a graph of 2^n but havn’t been able to.How to plot this graphHow to create a waterfall plot with two matrices and a vectorHow to plot this graphHelp needed plotting a graph
Best Answer