so when i plot my function, i get a wide graph.
but i need a narrower graph.
I tried to used limx function and I thought i got it, however, when changing the input value, meaning get a different graph that is wider than 15, my graph will cut off due to limx. I could increase the limx interval however, if the input keeps on changing, i cannot use limx. is there a way you can commend Matlab to set auto scale like the bottom graph? so whatever input value i give, it can always adjust scale to become a narrower graph.
(This is what i get when i change my input value)
(This is what I want my graph to look like)