注册 登录
编程论坛 Matlab

matlab计算

densel 发布于 2010-03-18 15:51, 958 次点击

为何我的这个程序不能够运行?
MF=imfilter(i,PSF,'full');
d=conv2(h,o);
c=MF+d;
且size(MF)=size(d).
显示出错:
??? Error using ==> minus
Integers can only be combined with integers of the same class, or scalar doubles.
望高手来指教如何改能够实现c=MF+d相加?
2 回复
#2
mywaylgh2010-03-19 14:57
把全部的脚本贴出来我看看

你这 h, o  psf i 什么都没有,我怎么看?
#3
densel2010-03-31 22:25
这个问题已经解决,谢谢!
1