Date: Oct 20, 2011 12:02 PM Author: Halley Subject: Re: Matrix dimensions must agree "Matt J" wrote in message <firstname.lastname@example.org>...
> "Halley" wrote in message <email@example.com>...
> > %Calculate old values
> > rho(i) = (x_a(i,:).*A.*x(:,i))./(x_a(i,:).*B.*x(:,i))
> I suspect you mean to do * instead of .*
> In any case, the sizes definitely aren't compatible for the .* operation
I think this is the simplest solution, thanks.