How can I plot this function f(x) = (sinx)/(x^2 4x 3) using suitable interval

 Akzeptierte Antwort

Sounds like homework, so here is a hint:
Try linspace() to compute x, then
y = sin(x) ./ (x.^2 + 4 * x + 3) ;
plot(x, y, 'b-');
Try different starting and stopping values for x in linspace() until you get what you think is an appropriate interval.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by