how to plot this
조회 수: 1 (최근 30일)
이전 댓글 표시
x=0:1:10;
y=x^3-5^x+3;
plot(x,y)
댓글 수: 0
답변 (3개)
Deepak Gupta
2022년 11월 14일
이동: Jan
님. 2022년 11월 14일
Are you trying to evaluate Y at each x?
Use this in that case: y=x.^3-5.^x+3;
댓글 수: 0
RAGHUNATHRAJU DASHARATHA
2022년 11월 14일
As per my understanding you want to plot x and y but you are unable to do that beacuse you are not using element wise operations.
I'll be demonstarting it using your code
x=0:1:10;
y=x.^3-5.^x+3;
plot(x,y)
for more information you can refer the link
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!