How to plot the function f(x)=x^3 - 4x^2 +1 for x∈[0,25]
조회 수: 61 (최근 30일)
이전 댓글 표시
채택된 답변
pfb
2015년 4월 14일
You almost got it. Since x is a vector, you should use elementwise operators. not x^2 (what's the square of a vector?) but x.^2.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!