답변 (1개)

David Hill
David Hill 2020년 11월 23일

0 개 추천

You need .^ for elementwise array operations
x = linspace(0,2,250);
y = 15*x.^3-9*x.^2-36*x+36;
plot(y,x)

카테고리

도움말 센터File Exchange에서 Polynomials에 대해 자세히 알아보기

질문:

2020년 11월 23일

답변:

2020년 11월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by