Feeds
提问
Unable to perform assignment because the left and right sides have a different number of elements.
xa=2 xb=3 ya=.9093 yb=.1411 x=0:1:5 for i=1:5 y(i+1)=((x-xb)/(xa-xb))*ya-((x-xa)/(xa-xb))*yb plot(x,y) it is show...
7 years 前 | 1 个回答 | 0
1
个回答提问
Array indices must be positive integers or logical values.
xa=2 xb=3 ya=.9093 yb=.1411 x=0:1:6 for x=0:1:6 y(x)=((x-xb)/(xa-xb))*ya-((x-xa)/(xa-xb))*yb end plot(y,x) why th...
7 years 前 | 3 个回答 | 0
3
个回答提问
Array indices must be positive integers or logical values
Fs=1000 Fc=250 dF=50 Br=.001 A=-20*log(Br) dw=2*pi*(dF/Fs) N=floor((A-8)/(2.285*dw)+1) b=.1102*(A-8.7) a=(N-1)/2 prom...
7 years 前 | 1 个回答 | 0