Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
普通会员
注册日期: 2009-03-05
年龄: 37
帖子: 34
声望力: 17 ![]() |
![]()
大家好,我在编程过程中遇到一个问题,错误如下:
??? 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的呢?应该如何改正这个错误呢? |
![]() |
![]() |