Matlab问题,错误Incomplete or misformed expression or statement.帮帮忙啊clearsn=0.1;0.01:100;snlg=20*log10(sn);sdouble=sqrt(sn);ssingle=sqrt(sn/2);bdouble=Q(sdouble);bsingle=Q(ssingle);semilogy(snlg,bdouble);hold;semilogy(snlg,bsingle,'--');ax

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 12:31:46
Matlab问题,错误Incompleteormisformedexpressionorstatement.帮帮忙啊clearsn=0.1;0.01:100;snlg=20*log10(sn);sdo

Matlab问题,错误Incomplete or misformed expression or statement.帮帮忙啊clearsn=0.1;0.01:100;snlg=20*log10(sn);sdouble=sqrt(sn);ssingle=sqrt(sn/2);bdouble=Q(sdouble);bsingle=Q(ssingle);semilogy(snlg,bdouble);hold;semilogy(snlg,bsingle,'--');ax
Matlab问题,错误Incomplete or misformed expression or statement.帮帮忙啊
clear
sn=0.1;0.01:100;
snlg=20*log10(sn);
sdouble=sqrt(sn);
ssingle=sqrt(sn/2);
bdouble=Q(sdouble);
bsingle=Q(ssingle);
semilogy(snlg,bdouble);
hold;
semilogy(snlg,bsingle,'--');
axis([-20,30,0.0000001,1]);
i=1100;
while(i

Matlab问题,错误Incomplete or misformed expression or statement.帮帮忙啊clearsn=0.1;0.01:100;snlg=20*log10(sn);sdouble=sqrt(sn);ssingle=sqrt(sn/2);bdouble=Q(sdouble);bsingle=Q(ssingle);semilogy(snlg,bdouble);hold;semilogy(snlg,bsingle,'--');ax
第22行加多一个),改为
if(bsingle(i)