NaN Problem

26 views
Skip to first unread message

Jiaxin Yang

unread,
Aug 7, 2013, 4:33:56 PM8/7/13
to yal...@googlegroups.com
for m=1:M
            for q=1:d
                M1(:,q,m)=kron(W(:,:,m)*H(:,:,m,k)*F(:,q,k), conj(u));
                N1(:,q,m)=kron(F(:,q,k),(G(:,:,k,m)*W(:,:,m)).'*conj(u));
            end
end

W and H are numbers, u is design variable, and M1 and N1 got NaNs.

Johan Löfberg

unread,
Aug 7, 2013, 5:10:57 PM8/7/13
to yal...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages