MATLAB Answers

Problem in plotting the graph.

1 view (last 30 days)
Gaurav Srivastava
Gaurav Srivastava on 6 Jun 2019
Edited: KSSV on 6 Jun 2019
Screenshot (28).png
  1 Comment
KSSV
KSSV on 6 Jun 2019
Attach code...not a image snippet.

Sign in to comment.

Answers (1)

KSSV
KSSV on 6 Jun 2019
Edited: KSSV on 6 Jun 2019
x = -3:0.01:5 ;
y = (x+5).^2./(4+(3*x).^2) ;
plot(x,y)
in y there should be element by element division.

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!