Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

2 次查看(过去 30 天)
HYEONJU KIM
HYEONJU KIM 2020-9-22
关闭: MATLAB Answer Bot 2021-8-20
Plot the function= 3x^2+2
over the interval 0 ≤ x ≤ 10.

回答(1 个)

Gouri Chennuru
Gouri Chennuru 2020-9-24
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 个评论
HYEONJU KIM
HYEONJU KIM 2020-10-17
thank you:)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!