The graph that i get looks very wrongCode:x1=-10:.1:10; y1=exp(x1) - (7*x1); plot(x1,y1);
How can i resolve this issue
"Solution" is to adjust the extent of the values x is assumed to take: choose x1=-10:.1:5 instead, for instance.
Well i didn't focus on the shape of the graph for positive values for x
For negative values of x the graph looks very very wrong
at x values lesser than zero the graph should go in the upward direction but the graph that mat-lab gives me lies on the x axis.
Please help me.