MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 这个问题该如何解决? (https://www.labfans.com/bbs/showthread.php?t=11509)

Jael 2010-05-11 06:06

这个问题该如何解决?
 
大家好,我在编程过程中遇到一个问题,错误如下:
??? Input argument "input" is undefined.
Error in ==> cnv_encd at 13
if rem(length(input),k0)>0
相关程序如下:
function output=cnv_encd(G,k0,input)
if rem(length(input),k0)>0
input=[input,zeros(size(1:k0-rem(length(input),k0)))];
end
已经定义了input为什么错误中说undefined的呢?应该如何改正这个错误呢?


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

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