MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]The input character is not valid in MATLAB statements or expressions (https://www.labfans.com/bbs/showthread.php?t=6137)

orangutan110 2009-01-04 20:37

[求助]The input character is not valid in MATLAB statements or expressions
 
运行生成伪随机序列gold码的函数:
function goldseq=gold_seq(prim_poly1,prim_poly2);
mseq1=msequence1(prim_poly1);
mseq2=msequence1(prim_poly2);
for i=0:length(mseq1)-1;
 mseq2_0=[mseq2(i+1:length(mseq1))
mseq2(1:i)];
 goldseq(i+1,:)=mod(mseq1+mseq2_0,2);
end
??? Error: File: gold_seq.m Line: 5 Column: 1
The input character is not valid in MATLAB statements or expressions.
本人菜鸟,求老鸟指点。msequence1是已经编译成功的生成m序列的函数。


所有时间均为北京时间。现在的时间是 13:34

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.