|
Hello,
I would like to write a program , this is a part of my instruction
%%%
for m=1:N
for n=1:N
syms x y
fon(m,n)=exp(-1i*pi*2*(sigma./B).*((m.*x)+(n.*y))).*exp(1i*pi.*sigma*(x.^2.+y.^2).*(A./B));
F(m,n)=int(int(image(m,n).*fon(m,n),x,-inf,+inf),y,-inf,+inf);
Uout(m,n)=exp(1i*pi*sigma*(m^2+n^2).*(D./B)).*F(m,n);
end
end
%%
When i exicute the program I have this error:
??? Error using ==> mupadmex
Error in MuPAD command: Invalid index [list];
during evaluation of 'matchNonSingletonLHS'
Error in ==> sym.sym>sym.subsasgn at 1420
C = mupadmex('mllib::subsasgn',A.s,B.s,inds{:});
Error in ==> abcdtest at 80
fon(m,n)=exp(-1i*pi*2*(sigma./B).*((m.*x)+(n.*y))).*exp(1i*pi.*sigma*(x.^2.+y.^2).*(A./B));
%%%%
can you please helpe me to resolve this problem,
Thanks
Sonia
|