? Subscript indices must either be real positive integers or logicals. 什么错误啊?n=[1:15];x=zeros(1,15);x=rand(1,10);z=zeros(1,15);y=[x,0,0,0,0,0];forj=3:1:12z(j)=y(j-2)endsubplot(2,1,1);stem(n,y);subplot(2,1,2);stem(n,z)
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/02 13:27:35
![? Subscript indices must either be real positive integers or logicals. 什么错误啊?n=[1:15];x=zeros(1,15);x=rand(1,10);z=zeros(1,15);y=[x,0,0,0,0,0];forj=3:1:12z(j)=y(j-2)endsubplot(2,1,1);stem(n,y);subplot(2,1,2);stem(n,z)](/uploads/image/z/10478807-71-7.jpg?t=%3F+Subscript+indices+must+either+be+real+positive+integers+or+logicals.+%E4%BB%80%E4%B9%88%E9%94%99%E8%AF%AF%E5%95%8A%3Fn%3D%5B1%3A15%5D%3Bx%3Dzeros%281%2C15%29%3Bx%3Drand%281%2C10%29%3Bz%3Dzeros%281%2C15%29%3By%3D%5Bx%2C0%2C0%2C0%2C0%2C0%5D%3Bforj%3D3%3A1%3A12z%28j%29%3Dy%28j-2%29endsubplot%282%2C1%2C1%29%3Bstem%28n%2Cy%29%3Bsubplot%282%2C1%2C2%29%3Bstem%28n%2Cz%29)
xMOQ]2ɔ/CLtuSmb\Ld
1|4-~PҦ0XhD;mmW,f=<}Ͻ/Ͱ*q*(hcSQ $(Ko(R5AV$&aC÷чc뤒_=sߊ+dIqxxH"-YPI:L8֟x9!Q6:<4r~E61>_S C"²_؏7ka[m+py
1dP!̠G:m^JVAN
4{H3bLDJc}