0x1 empty double row vector

조회 수: 3 (최근 30일)
Kenneth Bisgaard Cristensen
Kenneth Bisgaard Cristensen 2020년 7월 11일
Hi,
When i try to solve this:
x=(-200:-175:-150:-125:-100:-75:-50:-25:0:20:40:60:80:100)
f1=[5E-08 -3E-05 -0.0058 1.0479 177.56]
y1=polyval(f1,x)
plot(x,y1)
I says: 0x1 empty double row vector
It works with only positive numbers, how do i get it to work with the negative numbers?

채택된 답변

madhan ravi
madhan ravi 2020년 7월 11일
x = [-200:25:0, 20:20:100]
  댓글 수: 1
Kenneth Bisgaard Cristensen
Kenneth Bisgaard Cristensen 2020년 7월 11일
Thsank you so much, that was a huge help :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by