after running the code,I reached to the following error :
??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> colfilt at 149
b = reshape(feval(fun,x,params{:}), size(a));
Error in ==> test2 at 89
x1=uint8(colfilt(x1,[2,2],'sliding',@fedge1))
I defined the function fedge as follows:
function [ uu ] = fedge1( P11,P21,P31,P41 )
kk=readfis('fis.fis')
t=kk.input
P11=double(t(1).name)
P21=double(t(2).name)
P31=double(t(3).name)
P41=double(t(4).name)
P=[P11;P21;P31;P41]
uu=evalfis(P(:,2),kk)
end