MATLAB Answers

I want to plot F(x) and G(x) in same graph for x=(-10,10) how can I do this?

36 views (last 30 days)
Arkesh Patel
Arkesh Patel on 22 Feb 2018
Commented: Roger Stafford on 23 Feb 2018
f(x)=5x^2+9x+2
G(x)=3x+12

  1 Comment

James Tursa
James Tursa on 22 Feb 2018
What have you done so far? What specific problems are you having with your code? Do you know how to evaluate polynomials for a vector input? Do you know how to plot?

Sign in to comment.

Answers (2)

Star Strider
Star Strider on 23 Feb 2018
See the documentation on Anonymous Functions (link) and the linspace (link) function.

  0 Comments

Sign in to comment.


Sign in to answer this question.