필터 지우기
필터 지우기

Plotting mathematical functions in matplot

조회 수: 1 (최근 30일)
Himanshu Sinha
Himanshu Sinha 2021년 5월 22일
답변: Sulaymon Eshkabilov 2021년 5월 22일
I need to plot this in python.
y=(1-x) ^3 -2.
-1≤ x ≤ 5.(How do I define this range?)

채택된 답변

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 22일
In MATLAB, you can plot it using:
y=@(x)((1-x).^3-2);
fplot(y, [-1, 5]);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by