필터 지우기
필터 지우기

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!