Question: Help in MATLAB, with the code below i'm able to graph the integral results but i would also like to display the results on a

Help in MATLAB, with the code below i'm able to graph the integral results but i would also like to display the results on a table

so at the end i want the graph on the results and the results displayed on a table

thank you very much

this is how it looks so far https://imgur.com/bHtE7LM i'm just missing the table with the values of x

count = 1; y = [ ]; for x = 0:0.1:4 fun = @(x) (exp((-x.^2)/2)/sqrt(2*pi)); y(count) = quadgk(fun,0,x,'RelTol',1e-9,'AbsTol',1e-13); count = count+1; end

x = 0:0.1:4; xx = 0:0.1:4; yy = spline(x,y,xx); plot(x,y,'o',xx,yy); xlabel('x --> '); ylabel('Value of integral -->'); title('Integral Plot');

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!