draw function more understandable

Hallo,I'm solving an exercise(with matlab)that consist in a discussion of a function in a range. When I watch the graph,I've problem to determine the domain and roots becouse the function is too much near the axis. What command I must use to draw the graph more understandable ??

1 Commento

I have no idea what you're asking, so all I can say is to use the plot() command. Or fiddle around with xlim() and ylim(). Attach some screenshots to illustrate your situation.

Accedi per commentare.

Risposte (2)

you can adjust the axis property to zoom in :
% x,y
axis([x(1) x(end) y(1) y(end)])
valerio
valerio il 21 Ott 2013

0 voti

But for example, please watch the image attached , this is the range: [-5 5]. How you do to understand in a convenient way if the function is on the x axis or just more near??

2 Commenti

There is no attached image.
zoom into the plot.

Accedi per commentare.

Categorie

Richiesto:

il 20 Ott 2013

Commentato:

il 21 Ott 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by