Info

This question is closed. Reopen it to edit or answer.

플롯을 그려야 하는데 어떻게 함수를 입력해야 할지 모르겠어요

1 view (last 30 days)
HYEONJU KIM
HYEONJU KIM on 22 Sep 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Plot the function= 3x^2+2
over the interval 0 ≤ x ≤ 10.

Answers (1)

Gouri Chennuru
Gouri Chennuru on 24 Sep 2020
Hi Hyeonju,
You can make use of the "fplot" fucntion available in MATLAB which is mainly used to plot expression or function.
As a workaround you can try the following code in MATLAB
x = [0 10]
fplot(@(x)3*x.^2+2,[0 10])
Hope this Helps!
  1 Comment
HYEONJU KIM
HYEONJU KIM on 17 Oct 2020
thank you:)

Tags

Community Treasure Hunt

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

Start Hunting!